File: .flake8

package info (click to toggle)
azure-cli 2.82.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,359,416 kB
  • sloc: python: 1,910,381; sh: 1,343; makefile: 406; cs: 145; javascript: 74; sql: 37; xml: 21
file content (30 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (2)
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