diff --git a/tox.ini b/tox.ini index 4ccf487655..517d4c3c58 100644 --- a/tox.ini +++ b/tox.ini @@ -119,6 +119,10 @@ commands = exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*,.ropeproject,node_modules # H405 multi line docstring summary not separated with an empty line ignore = H405 +# Enable the following hacking rules which are disabled by default +# H203 Use assertIs(Not)None to check for None +# H904 Delay string interpolations at logging calls +enable-extensions=H203,H904 max-complexity = 20 [hacking]