8000 [pre-commit.ci] pre-commit autoupdate (#755) · IBMZ-Linux-OSS-Python/anyio@9be92d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9be92d4

Browse files
[pre-commit.ci] pre-commit autoupdate (agronholm#755)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.0](astral-sh/ruff-pre-commit@v0.4.10...v0.5.0) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](pre-commit/mirrors-mypy@v1.10.0...v1.10.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixed pre-commit error --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alex Grönholm <alex.gronholm@nextday.fi>
1 parent 3ecc422 commit 9be92d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ repos:
1616
- id: trailing-whitespace
1717

1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.4.10
19+
rev: v0.5.0
2020
hooks:
2121
- id: ruff
2222
args: [--fix, --show-fixes]
2323
- id: ruff-format
2424

2525
- repo: https://github.com/pre-commit/mirrors-mypy
26-
rev: v1.10.0
26+
rev: v1.10.1
2727
hooks:
2828
- id: mypy
2929
additional_dependencies:

tests/test_taskgroups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ async def test_fail_after_cancelled_before_deadline() -> None:
554554
async def test_fail_after_scope_cancelled_before_timeout() -> None:
555555
with fail_after(0.1) as scope:
556556
scope.cancel()
557-
time.sleep(0.11) # noqa: ASYNC101
557+
time.sleep(0.11) # noqa: ASYNC251
558558
await sleep(0)
559559

560560

0 commit comments

Comments
 (0)
0