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: I0b6ea01d2efc4d8e0d96af169cadb410c49624aa
This commit is contained in:
parent
e6f66554eb
commit
9ddddb01d3
3
tox.ini
3
tox.ini
|
@ -98,6 +98,9 @@ commands = bindep test
|
||||||
# H302 import only modules
|
# H302 import only modules
|
||||||
# H405 multi line docstring summary not separated with an empty line
|
# H405 multi line docstring summary not separated with an empty line
|
||||||
ignore = F821,H201,H302,H405
|
ignore = F821,H201,H302,H405
|
||||||
|
# H106: Don’t put vim configuration in source files
|
||||||
|
# H203: Use assertIs(Not)None to check for None
|
||||||
|
enable-extensions=H106,H203
|
||||||
max-complexity = 50
|
max-complexity = 50
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
builtins = _
|
builtins = _
|
||||||
|
|
Loading…
Reference in New Issue