diff --git a/.github/workflows/check-format.yml b/.github/workflows/check-format.yml index 0e0b99276..2d7e95eb6 100644 --- a/.github/workflows/check-format.yml +++ b/.github/workflows/check-format.yml @@ -27,5 +27,4 @@ jobs: pip install -e .[test] - name: Run code format checks run: | - black --check . - flake8 --enable-extensions=BCS src + tox -e linters_check diff --git a/setup.cfg b/setup.cfg index 03f3d1acf..94f28ec7d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,6 +12,7 @@ testpaths = test/unit_tests line_length = 100 multi_line_output = 3 include_trailing_comma = true +profile = black [flake8] ignore = diff --git a/tox.ini b/tox.ini index b49c673c0..dc3faea5f 100644 --- a/tox.ini +++ b/tox.ini @@ -95,7 +95,7 @@ skip_install = true deps = black commands = - black --check . {posargs} + black --check ./ {posargs} [testenv:docs] basepython = python3