Skip to content

Commit 7be7cac

Browse files
[pre-commit.ci] pre-commit autoupdate (#291)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.4 → v0.6.5](astral-sh/ruff-pre-commit@v0.6.4...v0.6.5) - [github.com/RobertCraigie/pyright-python: v1.1.379 → v1.1.380](RobertCraigie/pyright-python@v1.1.379...v1.1.380) - [github.com/sphinx-contrib/sphinx-lint: v0.9.1 → v1.0.0](sphinx-contrib/sphinx-lint@v0.9.1...v1.0.0) * rst-lint fix --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Zac Hatfield-Dodds <zac@anthropic.com>
1 parent 4d0423a commit 7be7cac

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ci:
88

99
repos:
1010
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.6.4
11+
rev: v0.6.5
1212
hooks:
1313
- id: ruff
1414
args: [--fix]
@@ -42,7 +42,7 @@ repos:
4242
- id: mypy
4343

4444
- repo: https://github.com/RobertCraigie/pyright-python
45-
rev: v1.1.379
45+
rev: v1.1.380
4646
hooks:
4747
- id: pyright
4848
# ignore warnings about new version being available, no other warnings
@@ -95,6 +95,6 @@ repos:
9595
args: [--autofix]
9696

9797
- repo: https://github.com/sphinx-contrib/sphinx-lint
98-
rev: v0.9.1
98+
rev: v1.0.0
9999
hooks:
100100
- id: sphinx-lint

docs/rules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ ASYNC116 : long-sleep-not-forever
7171
:func:`trio.sleep`/:func:`anyio.sleep` with >24 hour interval should usually be :func:`trio.sleep_forever`/:func:`anyio.sleep_forever`.
7272

7373
ASYNC118 : cancelled-class-saved
74-
Don't assign the value of :func:`anyio.get_cancelled_exc_class()` to a variable, since that breaks linter checks and multi-backend programs.
74+
Don't assign the value of :func:`anyio.get_cancelled_exc_class` to a variable, since that breaks linter checks and multi-backend programs.
7575

7676
_`ASYNC119` : yield-in-cm-in-async-gen
7777
``yield`` in context manager in async generator is unsafe, the cleanup may be delayed until ``await`` is no longer allowed.

0 commit comments

Comments
 (0)