Enable H203 to prevent assertIs(None, ...) regressions
Change-Id: I7cf58c1855054b379802b57ba2c563174d4a37da
This commit is contained in:
parent
057abace68
commit
831858aa19
@ -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
|
sphinx
|
||||||
nose
|
nose
|
||||||
openstack.nose_plugin
|
openstack.nose_plugin
|
||||||
|
3
tox.ini
3
tox.ini
@ -105,6 +105,9 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
ignore = F812,H101,H202,H233,H237,H301,H306,H401,H403,H404,H405,H501
|
ignore = F812,H101,H202,H233,H237,H301,H306,H401,H403,H404,H405,H501
|
||||||
exclude = .venv,.git,.tox,dist,doc,*egg,build,scratch
|
exclude = .venv,.git,.tox,dist,doc,*egg,build,scratch
|
||||||
show-source = True
|
show-source = True
|
||||||
|
# Add in some optional checks:
|
||||||
|
# H203: Use assertIs(Not)None to check for None
|
||||||
|
enable-extensions = H203
|
||||||
|
|
||||||
|
|
||||||
[testenv:bindep]
|
[testenv:bindep]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user