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: I4b7cc70025a56e19aad7ffc2caec307e5f70500e
This commit is contained in:
parent
b291c2bbd4
commit
cbca5ba77b
2
tox.ini
2
tox.ini
|
@ -62,9 +62,9 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
|
|||
#
|
||||
# E251 unexpected spaces around keyword / parameter equals
|
||||
# reason: no improvement in readability
|
||||
|
||||
show-source = True
|
||||
ignore = E251
|
||||
enable-extensions=H106,H203
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||
max-complexity=30
|
||||
|
|
Loading…
Reference in New Issue