Merge "Enable H234 check (assertEquals is deprecated, use assertEqual)"

This commit is contained in:
Jenkins 2015-10-12 16:57:32 +00:00 committed by Gerrit Code Review
commit 447cb47b02

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