Merge "Enable some off-by-default checks"
This commit is contained in:
6
tox.ini
6
tox.ini
@@ -99,8 +99,10 @@ commands = bandit -c bandit.yaml -r sahara -n5 -p sahara_default -x tests
|
||||
show-source = true
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
|
||||
# [H904] Delay string interpolations at logging calls.
|
||||
enable-extensions=H904
|
||||
# [H904] Delay string interpolations at logging calls
|
||||
# [H106] Don’t put vim configuration in source files
|
||||
# [H203] Use assertIs(Not)None to check for None.
|
||||
enable-extensions=H904,H106,H203
|
||||
|
||||
[hacking]
|
||||
import_exceptions = sahara.i18n
|
||||
|
||||
Reference in New Issue
Block a user