Skip to content

Commit 98259b5

Browse files
[pre-commit.ci] pre-commit autoupdate (#126)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.0.288 → v0.0.290](astral-sh/ruff-pre-commit@v0.0.288...v0.0.290) <!--pre-commit.ci end--> --------- Signed-off-by: Alexander Piskun <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alexander Piskun <[email protected]>
1 parent b971484 commit 98259b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ repos:
4141
- id: pyproject-fmt
4242

4343
- repo: https://github.com/astral-sh/ruff-pre-commit
44-
rev: v0.0.288
44+
rev: v0.0.290
4545
hooks:
4646
- id: ruff
4747

tests/_talk_bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def coverage_talk_bot_process_request(message: talk_bot.TalkBotMessage, request:
3333
with pytest.raises(HTTPException) as e:
3434
headers = dict(request.scope["headers"])
3535
headers[b"x-nextcloud-talk-signature"] = b"122112442412"
36-
request.scope["headers"] = [(k, v) for k, v in headers.items()]
36+
request.scope["headers"] = list(headers.items())
3737
del request._headers # noqa
3838
talk_bot_app(request)
3939
assert e.value.status_code == 401

0 commit comments

Comments
 (0)