Skip to content

Commit

Permalink
isort: add black-friendly isort config
Browse files Browse the repository at this point in the history
Nearly perfect match config to black formatting with one exception:
psf/black#251

That gap should be filled with the 'ensure_newline_before_comments=True'
that won't be honored until the next version of isort.

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
  • Loading branch information
Chris Patterson committed Nov 22, 2019
1 parent cd51e56 commit 6bda103
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[settings]
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
ensure_newline_before_comments=True

0 comments on commit 6bda103

Please sign in to comment.