diff --git a/tox.ini b/tox.ini index d6697460639..c153077318f 100644 --- a/tox.ini +++ b/tox.ini @@ -201,6 +201,12 @@ commands = sphinx-build -W -b linkcheck doc/source doc/build/linkcheck [flake8] # We only enable the hacking (H) and neutron (N) checks select = H,N +# H106: Don't put vim configuration in source files +# H203: Use assertIs(Not)None to check for None +# H204: Use assert(Not)Equal to check for equality +# H205: Use assert(Greater|Less)(Equal) for comparison +# H904: Delay string interpolations at logging calls +enable-extensions = H106,H203,H204,H205,H904 ignore = H405,H701,H702,H703,N530 show-source = true exclude = ./.*,build,dist,doc