diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1755b67..549cc02 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.4 + rev: v0.6.5 hooks: - id: ruff args: [--fix] @@ -42,7 +42,7 @@ repos: - id: mypy - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.379 + rev: v1.1.380 hooks: - id: pyright # ignore warnings about new version being available, no other warnings @@ -95,6 +95,6 @@ repos: args: [--autofix] - repo: https://github.com/sphinx-contrib/sphinx-lint - rev: v0.9.1 + rev: v1.0.0 hooks: - id: sphinx-lint diff --git a/docs/rules.rst b/docs/rules.rst index 681de67..e7ff332 100644 --- a/docs/rules.rst +++ b/docs/rules.rst @@ -71,7 +71,7 @@ ASYNC116 : long-sleep-not-forever :func:`trio.sleep`/:func:`anyio.sleep` with >24 hour interval should usually be :func:`trio.sleep_forever`/:func:`anyio.sleep_forever`. ASYNC118 : cancelled-class-saved - Don't assign the value of :func:`anyio.get_cancelled_exc_class()` to a variable, since that breaks linter checks and multi-backend programs. + Don't assign the value of :func:`anyio.get_cancelled_exc_class` to a variable, since that breaks linter checks and multi-backend programs. _`ASYNC119` : yield-in-cm-in-async-gen ``yield`` in context manager in async generator is unsafe, the cleanup may be delayed until ``await`` is no longer allowed.