Merge "Enable H234 check (assertEquals is deprecated, use assertEqual)"
This commit is contained in:
commit
447cb47b02
3
tox.ini
3
tox.ini
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user