INCR-411: Disable python-wrap-html for xss-lint
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user