diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6150c4a..9c17a55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,17 +15,17 @@ repos: - id: codespell additional_dependencies: ["tomli>=2.4"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.25.0" + rev: "v2.25.1" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.18" + rev: "v0.15.20" hooks: - id: ruff-format - id: ruff args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"] - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.8.4" + rev: "v3.9.1" hooks: - id: prettier additional_dependencies: diff --git a/tests/conftest.py b/tests/conftest.py index 68dc010..ee7c847 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -15,7 +15,7 @@ def session_cache(tmp_path_factory: pytest.TempPathFactory) -> DiskCache: return DiskCache(tmp_path_factory.mktemp("python-discovery-cache")) -@pytest.fixture(autouse=True) # noqa: RUF076 +@pytest.fixture(autouse=True) def _ensure_py_info_cache_empty(session_cache: DiskCache) -> Generator[None]: PythonInfo.clear_cache(session_cache) yield