ruff: Fix ISC003 Explicitly concatenated string.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-01-02 17:16:53 -08:00
committed by Tim Abbott
parent 2c5e114f8b
commit 17300f196c
28 changed files with 196 additions and 146 deletions

View File

@@ -45,8 +45,10 @@ VNU_IGNORE = [
r"The first occurrence of ID “[^”]*” was here\.",
r"Attribute “markdown” not allowed on element “div” at this point\.",
r"No “p” element in scope but a “p” end tag seen\.",
r"Element “div” not allowed as child of element “ul” in this context\. "
+ r"\(Suppressing further errors from this subtree\.\)",
(
r"Element “div” not allowed as child of element “ul” in this context\."
r" \(Suppressing further errors from this subtree\.\)"
),
# Opinionated informational messages.
r"Self-closing tag syntax in text/html documents is widely discouraged; its unnecessary and interacts badly with other HTML features \(e\.g\., unquoted attribute values\)\. If youre using a tool that injects self-closing tag syntax into all void elements, without any option to prevent it from doing so, then consider switching to a different tool\.",
]