diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 979fae7..33ab9c3 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.13.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)" 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