2020-11-05 20:57:50 +08:00
|
|
|
[flake8]
|
|
|
|
## Warn about linter issues.
|
|
|
|
|
2021-06-02 15:38:37 +08:00
|
|
|
exclude = monkey/monkey_island/cc/ui,vulture_allowlist.py
|
2020-11-05 20:57:50 +08:00
|
|
|
show-source = True
|
|
|
|
max-complexity = 10
|
2021-04-05 18:16:45 +08:00
|
|
|
max-line-length = 100
|
|
|
|
|
2021-04-06 18:59:03 +08:00
|
|
|
### ignore "whitespace before ':'", "line break before binary operator" for
|
|
|
|
### compatibility with black, and cyclomatic complexity (for now).
|
2021-04-06 02:44:42 +08:00
|
|
|
extend-ignore = E203, W503, C901
|
2020-11-05 20:57:50 +08:00
|
|
|
|
|
|
|
### --statistics Count the number of occurrences of each error/warning code and print a report.
|
|
|
|
statistics = True
|
|
|
|
|
|
|
|
### --count will print the total number of errors.
|
|
|
|
count = True
|