Skip to content

Commit 3850bbd

Browse files
Prevent a Black/isort conflict
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
1 parent 3d5beae commit 3850bbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ include_trailing_comma=true
1515
force_grid_wrap=0
1616
use_parentheses=true
1717
line_length=88
18+
ensure_newline_before_comments=true

0 commit comments

Comments
 (0)