Skip to content

Commit

Permalink
Bring back black profile to isort (#1297)
Browse files Browse the repository at this point in the history
Set `black` profile in the `isort` configuration. It fixes the racing
condition between black formatter and sort organizer in VS Code. This
setting was accidentally removed in PR that disabled alphabetical
imports.
  • Loading branch information
kasperski95 authored Dec 22, 2022
1 parent 1989664 commit 618885d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ target-version = [
]

[tool.isort]
profile = "black"
lines_between_sections = 1
only_sections = true

Expand Down

0 comments on commit 618885d

Please sign in to comment.