Add bandit job to the pep8 gate for Murano
This patch updates the pep8 tox job to also run bandit, as is the convention across most projects. The predefined bandit tox job is referenced by the pep8 tox job. Change-Id: Ief99196c04f69499bcf328ec202971f82ff3c32e
This commit is contained in:
parent
467e3caa80
commit
802f8607e1
|
@ -67,6 +67,7 @@ def safe_minidom_parse_string(xml_string):
|
|||
|
||||
"""
|
||||
try:
|
||||
return minidom.parseString(xml_string, parser=ProtectedExpatParser())
|
||||
return minidom.parseString( # nosec
|
||||
xml_string, parser=ProtectedExpatParser()) # nosec
|
||||
except sax.SAXParseException:
|
||||
raise expat.ExpatError()
|
||||
|
|
Loading…
Reference in New Issue