Skip to content

Commit 3253bb5

Browse files
committed
add some isort and flake8 config
1 parent 0793f3a commit 3253bb5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

setup.cfg

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[flake8]
2+
max-line-length = 100
3+
exclude = .git
4+
# E731: do not assign a lambda expression, use a def
5+
# W503: line break before binary operator
6+
ignore = E731, W503
7+
8+
# Make isort play nicely with black's import formatting.
9+
# https://github.com/microsoft/vscode-python/issues/5840
10+
[isort]
11+
multi_line_output = 3
12+
include_trailing_comma = True

0 commit comments

Comments
 (0)