From b78032b86811bcb9b19a506ed9b9c276d16c39cb Mon Sep 17 00:00:00 2001 From: shoucandanghehe Date: Thu, 10 Apr 2025 04:44:05 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=BD=AC=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_tetris_stats/utils/render/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nonebot_plugin_tetris_stats/utils/render/__init__.py b/nonebot_plugin_tetris_stats/utils/render/__init__.py index e1e79bb..d30a886 100644 --- a/nonebot_plugin_tetris_stats/utils/render/__init__.py +++ b/nonebot_plugin_tetris_stats/utils/render/__init__.py @@ -17,7 +17,11 @@ from .schemas.top_info import Info as TOPInfo from .schemas.tos_info import Info as TOSInfo env = Environment( - loader=FileSystemLoader(TEMPLATES_DIR), autoescape=True, trim_blocks=True, lstrip_blocks=True, enable_async=True + loader=FileSystemLoader(TEMPLATES_DIR), + autoescape=False, # noqa: S701 + trim_blocks=True, + lstrip_blocks=True, + enable_async=True, )