Skip to content

Commit ea6618c

Browse files
authored
Fix yapf-isort import formatting conflict (Fix #777) (#784)
Add trailing comma in isort config. Yapf respects the trailing comma and will not reformat the imports.
1 parent 7cad3f5 commit ea6618c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ parallel = true
2727

2828
[pydocstyle]
2929
convention = numpy
30+
31+
[isort]
32+
multi_line_output = 3
33+
include_trailing_comma = true

0 commit comments

Comments
 (0)