From 7d05a9666afbe4d29a1ed34bdec3b4d551b81aa8 Mon Sep 17 00:00:00 2001 From: amitvadhel Date: Thu, 18 Jul 2019 21:29:32 +0300 Subject: [PATCH] INCR-411: Disable python-wrap-html for xss-lint --- common/lib/capa/capa/inputtypes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/lib/capa/capa/inputtypes.py b/common/lib/capa/capa/inputtypes.py index cdc35a447f..24ec87b620 100644 --- a/common/lib/capa/capa/inputtypes.py +++ b/common/lib/capa/capa/inputtypes.py @@ -1793,6 +1793,7 @@ class ChoiceTextGroup(InputTypeBase): msg = Text("[capa.inputtypes.extract_choices] {0}").format( # Translators: a "tag" is an XML element, such as "" in HTML Text(_("Expected a {expected_tag} tag; got {given_tag} instead")).format( + # xss-lint: disable=python-wrap-html expected_tag="", given_tag=choice.tag, )