ruff: Fix S704 Unsafe use of markupsafe.Markup detected.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-03-14 15:40:16 -07:00
committed by Tim Abbott
parent 88a8087243
commit 7866dc5ad8
2 changed files with 6 additions and 2 deletions

View File

@@ -508,6 +508,9 @@ ignore = [
"TC003", # Move standard library import into a type-checking block
]
[tool.ruff.lint.flake8-bandit]
allowed-markup-calls = ["lxml.html.tostring"]
[tool.ruff.lint.flake8-gettext]
extend-function-names = ["gettext_lazy"]