Skip to content

Commit 2fd99af

Browse files
committed
Fix flake8
1 parent 87cb41c commit 2fd99af

File tree

2 files changed

+25
-13
lines changed

2 files changed

+25
-13
lines changed

azdev/config/cli.flake8

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,23 @@
22
max-line-length = 120
33
max-complexity = 10
44
ignore =
5-
E501, # line too long, it is covered by pylint
6-
E722, # bare except, bad practice, to be removed in the future
7-
F401, # imported but unused, too many violations, to be removed in the future
8-
F811, # redefinition of unused, to be removed in the future
9-
C901 # code flow is too complex, too many violations, to be removed in the future
10-
W504 # line break after binary operator effect on readability is subjective
5+
# line too long, it is covered by pylint
6+
E501,
7+
# bare except, bad practice, to be removed in the future
8+
E722,
9+
# imported but unused, too many violations, to be removed in the future
10+
F401,
11+
# redefinition of unused, to be removed in the future
12+
F811,
13+
# code flow is too complex, too many violations, to be removed in the future
14+
C901,
15+
# line break after binary operator effect on readability is subjective
16+
W504
1117
exclude =
1218
azure_cli_bdist_wheel.py
1319
build
1420
tools
1521
scripts
1622
doc
1723
build_scripts
18-
*/grammar/
24+
*/grammar/

azdev/config/ext.flake8

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
max-line-length = 120
33
max-complexity = 10
44
ignore =
5-
E501, # line too long, it is covered by pylint
6-
E722, # bare except, bad practice, to be removed in the future
7-
F401, # imported but unused, too many violations, to be removed in the future
8-
F811, # redefinition of unused, to be removed in the future
9-
C901 # code flow is too complex, too many violations, to be removed in the future
10-
W504 # line break after binary operator effect on readability is subjective
5+
# line too long, it is covered by pylint
6+
E501,
7+
# bare except, bad practice, to be removed in the future
8+
E722,
9+
# imported but unused, too many violations, to be removed in the future
10+
F401,
11+
# redefinition of unused, to be removed in the future
12+
F811,
13+
# code flow is too complex, too many violations, to be removed in the future
14+
C901,
15+
# line break after binary operator effect on readability is subjective
16+
W504
1117
exclude =
1218
*/vendored_sdks
1319
docs

0 commit comments

Comments
 (0)