Skip to content

Commit

Permalink
Simplify isort config using 'profile = black'
Browse files Browse the repository at this point in the history
isort now has builtin support for black through its "profiles" feature.

https://timothycrosley.github.io/isort/docs/configuration/profiles/#black
  • Loading branch information
jdufresne committed Aug 19, 2020
1 parent 86f3a4a commit 7a5d801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions setup.cfg
Expand Up @@ -49,9 +49,4 @@ max-line-length = 88
show-source = True

[isort]
combine_as_imports = True
default_section = THIRDPARTY
include_trailing_comma = True
known_first_party = phonenumber_field
line_length = 88
multi_line_output = 3
profile = black
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -44,5 +44,5 @@ skip_install = true
commands =
isort --check-only --diff .
deps =
isort>=5.0.1
isort>=5.0.2
skip_install = true

0 comments on commit 7a5d801

Please sign in to comment.