Skip to content

Commit

Permalink
Prevent a Black/isort conflict
Browse files Browse the repository at this point in the history
Comments in import blocks cause disagreement between Black and isort.
This will soon be fixed by specifying
'ensure_newline_before_comments=true' in the isort config, though this
won't be honoured until the next isort release.

See psf/black#251
and PyCQA/isort#1000
  • Loading branch information
benjaminhwilliams committed Jun 23, 2020
1 parent 406252f commit 6baa006
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 @@ -12,3 +12,4 @@ include_trailing_comma=true
force_grid_wrap=0
use_parentheses=true
line_length=88
ensure_newline_before_comments=true

0 comments on commit 6baa006

Please sign in to comment.