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 See: https://docs.openstack.org/hacking/latest/user/usage.html#enabling-off-by-default-checks Change-Id: I8f9b580ad653e32290e5c4be8a639cf7d168d9ec
This commit is contained in:
parent
ce2f74b89b
commit
34d5767a04
4
tox.ini
4
tox.ini
@ -74,4 +74,8 @@ commands =
|
||||
# F821: undefined name
|
||||
ignore = F821
|
||||
builtins = _
|
||||
# [H106] Don't put vim configuration in source files.
|
||||
# [H203] Use assertIs(Not)None to check for None.
|
||||
# [H904] Delay string interpolations at logging calls.
|
||||
enable-extensions = H106,H203,H904
|
||||
exclude = .venv,.tox,dist,doc,*egg
|
||||
|
Loading…
Reference in New Issue
Block a user