Enable H234 check (assertEquals is deprecated, use assertEqual)

All usages of assertEquals and assertNotEquals are fixed now, so let's enable
the H234 check to avoid regressions in the future.

Change-Id: I2c2ccb3b268cf9eb11f2db045378ab125a02bc31
This commit is contained in:
Christian Schwede 2015-10-12 07:09:00 +00:00
parent 1882801be1
commit 767fac8186
1 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,6 @@ commands = bandit -c bandit.yaml -r swift bin -n 5 -p gate
# H101: Use TODO(NAME)
# H202: assertRaises Exception too broad
# H233: Python 3.x incompatible use of print operator
# H234: assertEquals is deprecated, use assertEqual
# H301: one import per line
# H306: imports not in alphabetical order (time, os)
# H401: docstring should not start with a space
@ -68,6 +67,6 @@ commands = bandit -c bandit.yaml -r swift bin -n 5 -p gate
# H405: multi line docstring summary not separated with an empty line
# H501: Do not use self.__dict__ for string formatting
# H703: Multiple positional placeholders
ignore = F812,H101,H202,H233,H234,H301,H306,H401,H403,H404,H405,H501,H703
ignore = F812,H101,H202,H233,H301,H306,H401,H403,H404,H405,H501,H703
exclude = .venv,.tox,dist,doc,*egg
show-source = True