Enable some off-by-default checks
Some of the available checks are disabled by default, like: [H106] Don’t put vim configuration in source files [H203] Use assertIs(Not)None to check for None Change-Id: I3854538ff6e144f88d4f0e8894573298da53869d
This commit is contained in:
parent
0e3627252e
commit
be20e8f24b
3
tox.ini
3
tox.ini
|
@ -50,6 +50,9 @@ commands = {posargs}
|
|||
# H102 Apache 2.0 license header not found
|
||||
|
||||
ignore = E121,E122,E123,E124,E126,E127,E128,E711,E712,H102,H303,H404,F403,F811,F841
|
||||
# H106: Don’t put vim configuration in source files
|
||||
# H203: Use assertIs(Not)None to check for None
|
||||
enable-extensions=H106,H203
|
||||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,ec2api/tests/functional/obsolete
|
||||
max-complexity=25
|
||||
|
||||
|
|
Loading…
Reference in New Issue