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 4ede073 commit f53d5b8
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 @@ -10,3 +10,4 @@ include_trailing_comma=true
force_grid_wrap=0
use_parentheses=true
line_length=88
ensure_newline_before_comments=true

0 comments on commit f53d5b8

Please sign in to comment.