Skip to content

Commit 1040163

Browse files
committed
chore: prek autoupdate
1 parent 491209f commit 1040163

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ default_install_hook_types:
44
- commit-msg
55
repos:
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: v0.14.11
7+
rev: v0.15.8
88
hooks:
99
- id: ruff
1010
args: [--fix, --exit-non-zero-on-fix]
1111
- id: ruff-format
1212
- repo: https://github.com/codespell-project/codespell
13-
rev: v2.4.1
13+
rev: v2.4.2
1414
hooks:
1515
- id: codespell
1616
stages: [pre-commit]
@@ -19,7 +19,7 @@ repos:
1919
exclude: "docs/locales"
2020
args: [--write-changes]
2121
- repo: https://github.com/compilerla/conventional-pre-commit
22-
rev: v4.3.0
22+
rev: v4.4.0
2323
hooks:
2424
- id: conventional-pre-commit
2525
stages: [commit-msg]

tests/flask/test_oauth2/rfc9068/test_token_introspection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ def test_introspection(test_client, client, user, access_token):
148148
def test_introspection_username(
149149
test_client, client, user, introspection_endpoint, access_token
150150
):
151-
introspection_endpoint.get_username = lambda user_id: db.session.get(
152-
User, user_id
153-
).username
151+
introspection_endpoint.get_username = lambda user_id: (
152+
db.session.get(User, user_id).username
153+
)
154154

155155
headers = create_basic_header(client.client_id, client.client_secret)
156156
rv = test_client.post(

0 commit comments

Comments
 (0)