Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI issues after flake8 update 5 → 6 #343

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
extend-exclude =
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ setenv=

[testenv:flake8]
skip_install = true
deps = flake8<6.0
deps = flake8
flake8-author
flake8-blind-except
flake8-bugbear
Expand All @@ -24,7 +24,7 @@ deps = flake8<6.0
flake8-exact-pin
flake8-isort
flake8-print
flake8-quotes
flake8-quotes>=3.3.2 # for compatibility with flake8 6.0
flake8-tidy-imports
flake8-tuple
pep8-naming
Expand Down