Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #289

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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.9.4
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.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