Skip to content

Commit ebcf269

Browse files
wangenausunqm
authored andcommitted
Fix flake8 config file for flake8>6
* Backslashes are not recognized and flake8 will fail under new versions
1 parent fc82a94 commit ebcf269

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.flake8

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
[flake8]
22
# https://flake8.pycqa.org/en/2.5.5/warnings.html#error-codes
3-
ignore = \
3+
ignore =
44
# Indentation:
5-
E126, E127, E128, E129, \
5+
E126, E127, E128, E129,
66
# Whitespaces:
7-
E201, E202, E203, E211, E221, E222, E225, E226, E228, E231, E241, \
8-
E251, \
7+
E201, E202, E203, E211, E221, E222, E225, E226, E228, E231, E241, E251,
98
# Comments:
10-
E261, E262, E265, E266, \
9+
E261, E262, E265, E266,
1110
# Blank lines:
12-
E301, E302, E303, E305, E306, \
11+
E301, E302, E303, E305, E306,
1312
# Imports:
14-
E401, E402, \
13+
E401, E402,
1514
# Other:
16-
E701, E731, E741, E275, \
15+
E701, E731, E741, E275,
1716
F401, C901, W391, W503, W504
1817

1918
exclude = test, .git, __pycache__, build, dist, __init__.py .eggs, *.egg

0 commit comments

Comments
 (0)