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: I3d9eba508155f7ef8eba5185b27bd2673fe95d0f
This commit is contained in:
parent
0c7a16c252
commit
cc60458f27
3
tox.ini
3
tox.ini
|
@ -87,5 +87,8 @@ max-complexity = 30
|
|||
# H405 Multiline docstring separated by empty line
|
||||
# E402 module level import not at top of file FIXME remove this
|
||||
ignore = H904,H405,E402
|
||||
# H106 Don’t put vim configuration in source files
|
||||
# H203 Use assertIs(Not)None to check for None
|
||||
enable-extensions=H106,H203
|
||||
show-source = True
|
||||
exclude=.venv,.git,.tox,dist,*egg,build
|
||||
|
|
Loading…
Reference in New Issue