forked from Azure/azure-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
30 lines (30 loc) · 821 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[flake8]
max-line-length = 120
max-complexity = 10
ignore =
# 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
exclude =
azure_bdist_wheel.py
build
tools
scripts
doc
build_scripts
*/grammar/
vendored_sdks
tests
*/command_modules/*/aaz