From 956004043e67c2f390758b975225de6e8561efa7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 19:46:05 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.3 → v0.14.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.3...v0.14.3) - [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) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 979fae7..e31fd42 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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.3 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)" From 2d590f3c0437854240a0470b17d311117256c407 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 19:46:11 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/flask_debugtoolbar/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/flask_debugtoolbar/__init__.py b/src/flask_debugtoolbar/__init__.py index f223f3d..e1ad05c 100644 --- a/src/flask_debugtoolbar/__init__.py +++ b/src/flask_debugtoolbar/__init__.py @@ -95,8 +95,7 @@ def init_app(self, app: Flask) -> None: 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 @@ def process_response(self, response: Response) -> Response: after = "" else: warnings.warn( - "Could not insert debug toolbar." " tag not found in response.", + "Could not insert debug toolbar. tag not found in response.", stacklevel=1, ) return response