Skip to content

Commit 2cce47d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e6e6db7 commit 2cce47d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/flask_debugtoolbar/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ def init_app(self, app: Flask) -> None:
9595

9696
if not app.config.get("SECRET_KEY"):
9797
raise RuntimeError(
98-
"The Flask-DebugToolbar requires the 'SECRET_KEY' config "
99-
"var to be set"
98+
"The Flask-DebugToolbar requires the 'SECRET_KEY' config var to be set"
10099
)
101100

102101
self._validate_and_configure_toolbar_routes_host(app)
@@ -326,7 +325,7 @@ def process_response(self, response: Response) -> Response:
326325
after = ""
327326
else:
328327
warnings.warn(
329-
"Could not insert debug toolbar." " </body> tag not found in response.",
328+
"Could not insert debug toolbar. </body> tag not found in response.",
330329
stacklevel=1,
331330
)
332331
return response

0 commit comments

Comments
 (0)