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

This commit is contained in:
Jenkins 2017-04-25 02:23:46 +00:00 committed by Gerrit Code Review
commit de8fe28278
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -104,6 +104,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]