INCR-411: Disable python-wrap-html for xss-lint

This commit is contained in:
amitvadhel
2019-07-18 21:29:32 +03:00
parent 182a177b4e
commit 7d05a9666a

View File

@@ -1793,6 +1793,7 @@ class ChoiceTextGroup(InputTypeBase):
msg = Text("[capa.inputtypes.extract_choices] {0}").format(
# Translators: a "tag" is an XML element, such as "<b>" in HTML
Text(_("Expected a {expected_tag} tag; got {given_tag} instead")).format(
# xss-lint: disable=python-wrap-html
expected_tag="<choice>",
given_tag=choice.tag,
)