Skip to content

Commit

Permalink
isort: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jan 19, 2021
1 parent f8affe9 commit 5687a52
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 0 additions & 9 deletions pyproject.toml

This file was deleted.

11 changes: 11 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5687a52

Please sign in to comment.