2 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
20dc211564 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-12-01 19:58:29 +00:00
pre-commit-ci[bot]
0fb03ef8b5 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.3 → v0.14.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.3...v0.14.7)
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v6.0.0)
2025-12-01 19:58:20 +00:00
2 changed files with 4 additions and 5 deletions

View File

@@ -2,12 +2,12 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.3
rev: v0.14.7
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v6.0.0
hooks:
- id: check-merge-conflict
exclude: "(codemirror|jquery)"

View File

@@ -95,8 +95,7 @@ class DebugToolbarExtension:
if not app.config.get("SECRET_KEY"):
raise RuntimeError(
"The Flask-DebugToolbar requires the 'SECRET_KEY' config "
"var to be set"
"The Flask-DebugToolbar requires the 'SECRET_KEY' config var to be set"
)
self._validate_and_configure_toolbar_routes_host(app)
@@ -326,7 +325,7 @@ class DebugToolbarExtension:
after = ""
else:
warnings.warn(
"Could not insert debug toolbar." " </body> tag not found in response.",
"Could not insert debug toolbar. </body> tag not found in response.",
stacklevel=1,
)
return response