From 467fd72dd7a5b6ed067cd24203830bc45571a430 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 16:51:42 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/tox-dev/pyproject-fmt: v2.25.0 → v2.25.1](https://github.com/tox-dev/pyproject-fmt/compare/v2.25.0...v2.25.1) - [github.com/astral-sh/ruff-pre-commit: v0.15.18 → v0.15.20](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.18...v0.15.20) - [github.com/rbubley/mirrors-prettier: v3.8.4 → v3.9.1](https://github.com/rbubley/mirrors-prettier/compare/v3.8.4...v3.9.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: From b2cd3e2f53794bc2f950ec08a5edfc14ec60f1cd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 16:52:51 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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