Enable H203 to prevent assertIs(None, ...) regressions

Change-Id: I7cf58c1855054b379802b57ba2c563174d4a37da
This commit is contained in:
Tim Burke 2017-04-11 17:41:57 +00:00
parent 057abace68
commit 831858aa19
2 changed files with 4 additions and 1 deletions

@ -1,4 +1,4 @@
hacking>=0.11.0,<0.12 # Apache-2.0
hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0
sphinx
nose
openstack.nose_plugin

@ -105,6 +105,9 @@ setenv = VIRTUAL_ENV={envdir}
ignore = F812,H101,H202,H233,H237,H301,H306,H401,H403,H404,H405,H501
exclude = .venv,.git,.tox,dist,doc,*egg,build,scratch
show-source = True
# Add in some optional checks:
# H203: Use assertIs(Not)None to check for None
enable-extensions = H203
[testenv:bindep]