Skip to content

Commit

Permalink
Fix CI issue after flake8 update 5 → 6
Browse files Browse the repository at this point in the history
PyCQA/flake8#1760

Fix incorrect `setup.cfg` syntax.
  • Loading branch information
DimitriPapadopoulos committed Dec 5, 2022
1 parent 74d854f commit 9339262
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,22 @@ all_files = 1

[flake8]
ignore =
D205,D209,D400 # our docstrings are multi-line blobs
D302 # We don't care about Unicode docstrings
E731 # we occasionally use lambda
F403,F405 # we use * imports
Q001 # we use '''...''' multi-line strings
Q003 # don't force "" strings to avoid escaping quotes
T001,T201 # we use print statements in the update scripts
W504 # we put the binary operator on the preceding line
# our docstrings are multi-line blobs
D205,D209,D400,
# We don't care about Unicode docstrings
D302,
# we occasionally use lambda
E731,
# we use * imports
F403,F405,
# we use '''...''' multi-line strings
Q001,
# don't force "" strings to avoid escaping quotes
Q003,
# we use print statements in the update scripts
T001,T201,
# we put the binary operator on the preceding line
W504,
max-complexity = 15
max-line-length = 120

Expand Down

0 comments on commit 9339262

Please sign in to comment.