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

{CI} Make .flake8 compatible with Flake8 6.0.0 #25370

Merged
merged 1 commit into from
Feb 8, 2023
Merged
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
18 changes: 12 additions & 6 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
max-line-length = 120
max-complexity = 10
ignore =
E501, # line too long, it is covered by pylint
E722, # bare except, bad practice, to be removed in the future
F401, # imported but unused, too many violations, to be removed in the future
F811, # redefinition of unused, to be removed in the future
C901 # code flow is too complex, too many violations, to be removed in the future
W504 # line break after binary operator effect on readability is subjective
# line too long, it is covered by pylint
E501
# bare except, bad practice, to be removed in the future
E722
# imported but unused, too many violations, to be removed in the future
F401
# redefinition of unused, to be removed in the future
F811
# code flow is too complex, too many violations, to be removed in the future
C901
# line break after binary operator effect on readability is subjective
W504
per-file-ignores =
# module level import not at top of file, elevate timer to measure import time
src/azure-cli/azure/cli/__main__.py:E402
Expand Down