Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.3
rev: v0.12.11
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)"
Expand Down
5 changes: 2 additions & 3 deletions src/flask_debugtoolbar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -326,7 +325,7 @@ def process_response(self, response: Response) -> Response:
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
Expand Down
Loading