Skip to content

Commit 69a7dc5

Browse files
committed
Ignore deprecated flake8 W503
1 parent 9a438c1 commit 69a7dc5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
# Since there is overlap in the violations that the different tools check for, it makes sense to quiesce some warnings
22
# in some tools if those warnings in other tools are preferred. This avoids the need to add duplicate lint warnings.
33

4+
# max-line-length should be removed ASAP!
5+
46
[pycodestyle]
57
max-line-length = 119
68

79
[flake8]
810
max-line-length = 119
9-
ignore = E722,F841
11+
ignore = E722,F841,W503
1012
# E722: pylint is preferred for bare-except
1113
# F841: pylint is preferred for unused-variable
14+
# W503: deprecated: https://bugs.python.org/issue26763 - https://www.python.org/dev/peps/pep-0008/#should-a-line-break-before-or-after-a-binary-operator
1215

1316
# pylint honours the [MESSAGES CONTROL] section
1417
# as well as [MASTER] section

0 commit comments

Comments
 (0)