diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 88df57a..95f1df4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,14 +16,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.2 + rev: v0.3.2 hooks: - id: ruff args: [--fix, --show-fixes] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.9.0 hooks: - id: mypy additional_dependencies: ["pytest"] diff --git a/tests/test_testing_recipe.py b/tests/test_testing_recipe.py index 35c1a40..26fa962 100644 --- a/tests/test_testing_recipe.py +++ b/tests/test_testing_recipe.py @@ -2,6 +2,7 @@ This module exists to make sure that the testing recipe in the documentation is and stays valid, and works with different backends. """ + from __future__ import annotations from collections.abc import AsyncGenerator, Generator