diff --git a/tox.ini b/tox.ini index 8514de54c..29975e9f8 100644 --- a/tox.ini +++ b/tox.ini @@ -39,9 +39,12 @@ commands = oslo_debug_helper {posargs} [flake8] # E123, E125 skipped as they are invalid PEP-8. +# H106: Don’t put vim configuration in source files +# H203: Use assertIs(Not)None to check for None show-source = True ignore = E123,E125 +enable-extensions=H106,H203 builtins = _ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build