Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 13, 2025
1 parent 074d536 commit 47d5e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastapi_keycloak_middleware/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def setup_keycloak_middleware( # pylint: disable=too-many-arguments
}
else:
log.warning(
"Middleware is configured to add 401 exception" " response but it already exists"
"Middleware is configured to add 401 exception response but it already exists"
)

if 403 not in router.responses:
Expand All @@ -127,7 +127,7 @@ def setup_keycloak_middleware( # pylint: disable=too-many-arguments
}
else:
log.warning(
"Middleware is configured to add 403 exception" " response but it already exists"
"Middleware is configured to add 403 exception response but it already exists"
)
else:
log.debug("Skipping adding exception responses")
Expand Down

0 comments on commit 47d5e09

Please sign in to comment.