diff --git a/.github/workflows/code-format.yml b/.github/workflows/code-format.yml index e9a874f14c..13b90566f3 100644 --- a/.github/workflows/code-format.yml +++ b/.github/workflows/code-format.yml @@ -50,7 +50,7 @@ jobs: pip install isort==5.6.4 pip --version - name: isort - run: isort --settings-path=./pyproject.toml --check-only . + run: isort --check-only . typing-check-mypy: runs-on: ubuntu-20.04 diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index 0de6ce2122..0000000000 --- a/pyproject.toml +++ /dev/null @@ -1,9 +0,0 @@ -[tool.isort] -known_first_party = [ - "pl_bolts", - "tests", - "notebooks", -] -profile = "black" -line_length = 120 -order_by_type = "False" diff --git a/setup.cfg b/setup.cfg index 080004f375..bc0f40e000 100644 --- a/setup.cfg +++ b/setup.cfg @@ -62,6 +62,17 @@ description-file = README.md # long_description = file:README.md # long_description_content_type = text/markdown +[isort] +known_first_party = + pl_bolts + tests + notebooks +line_length = 120 +order_by_type = False +# 3 - Vertical Hanging Indent +multi_line_output = 3 +include_trailing_comma = True + [mypy] # Typing tests is low priority, but enabling type checking on the # untyped test functions (using `--check-untyped-defs`) is still