diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a966e1f..9c86afb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -86,22 +86,22 @@ django_checks: black: <<: *python_test_template script: - - black --check website + - black --check . isort: <<: *python_test_template script: - - isort --check website + - isort --check . flake8: <<: *python_test_template script: - - flake8 website + - flake8 mypy: <<: *python_test_template script: - - mypy website + - mypy . prettier: <<: *node_test_template diff --git a/justfile b/justfile index c4ed854..8bab86c 100644 --- a/justfile +++ b/justfile @@ -26,17 +26,17 @@ test *ARGS: ./manage.py test {{ ARGS }} format: - black website - isort website + black . + isort . npm run format lint: lint_python lint_node lint_python: - black --check website - isort --check website - flake8 website - mypy website --show-error-codes + black --check . + isort --check . + flake8 + mypy . --show-error-codes @lint_node: npm run lint diff --git a/setup.cfg b/setup.cfg index 6dceb1c..f6b2406 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,6 +7,8 @@ ignore_missing_imports = True disallow_untyped_calls = True disallow_untyped_defs = True disallow_incomplete_defs = True +exclude= + docker/dev/volumes [isort] multi_line_output=3