Skip to content

Commit

Permalink
Merge pull request #71 from waza-ari/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
waza-ari authored Jan 24, 2025
2 parents 41aafed + b2a213d commit 29a41b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
- id: pyupgrade
args: [--py37-plus, --keep-percent-format]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.8.4"
rev: "v0.9.2"
hooks:
# Run the linter.
- id: ruff
Expand Down
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 29a41b0

Please sign in to comment.