Enable some off-by-default hacking rules
This commit enables the following two hacking rules
which are disabled by default.
* H203 Use assertIs(Not)None to check for None
* H904 Delay string interpolations at logging calls
Recently we clean them up in our code base and
it looks better to detect them automatically.
@@ -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]
