forked from p34709852/monkey
Modify configuration for flake8
This commit is contained in:
parent
e616fcdf50
commit
480f6ccc7f
|
@ -1,11 +1,13 @@
|
|||
[flake8]
|
||||
## Warn about linter issues.
|
||||
|
||||
exclude = ../monkey/monkey_island/cc/ui,
|
||||
../monkey/common/cloud
|
||||
exclude = ../monkey/monkey_island/cc/ui
|
||||
show-source = True
|
||||
max-complexity = 10
|
||||
max-line-length = 127
|
||||
max-line-length = 100
|
||||
|
||||
### ignore "whitespace before ':'" and "line break before binary operator" for compatibility with black
|
||||
extend-ignore = E203, W503
|
||||
|
||||
### --statistics Count the number of occurrences of each error/warning code and print a report.
|
||||
statistics = True
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
|
||||
## Check syntax errors and fail the build if any are found.
|
||||
exclude =
|
||||
../monkey/monkey_island/cc/ui,
|
||||
../monkey/common/cloud
|
||||
../monkey/monkey_island/cc/ui
|
||||
select =
|
||||
E901,
|
||||
E999,
|
||||
|
|
Loading…
Reference in New Issue