2020-11-05 20:57:50 +08:00
|
|
|
[flake8]
|
|
|
|
## Warn about linter issues.
|
|
|
|
|
2021-04-05 18:16:45 +08:00
|
|
|
exclude = ../monkey/monkey_island/cc/ui
|
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
|
|
|
|
|
|
|
|
### ignore "whitespace before ':'" and "line break before binary operator" for compatibility with black
|
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
|
|
|
|
|