From 8254666f0456ed2d7c8035e4fb3be1924d1042f9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 21:41:19 +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/astral-sh/ruff-pre-commit: v0.15.8 → v0.15.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.8...v0.15.9) - [github.com/pre-commit/mirrors-mypy: v1.19.1 → v1.20.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.19.1...v1.20.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0afeef8b..da6c89c9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.8" + rev: "v0.15.9" hooks: - id: ruff-check args: ["--fix"] @@ -43,7 +43,7 @@ repos: language: python additional_dependencies: [pygments, restructuredtext_lint] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.19.1 + rev: v1.20.0 hooks: - id: mypy files: ^(src/|testing/) From 87f195350827f331aae0cb6c64508b13f92bdbf6 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 7 Apr 2026 15:12:27 -0300 Subject: [PATCH 2/2] Update test_pluginmanager.py --- testing/test_pluginmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_pluginmanager.py b/testing/test_pluginmanager.py index 0c70c947..219b17d5 100644 --- a/testing/test_pluginmanager.py +++ b/testing/test_pluginmanager.py @@ -615,7 +615,7 @@ def my_distributions(): assert len(ret[0]) == 2 assert ret[0][0] == plugin assert ret[0][1]._dist == dist # type: ignore[comparison-overlap] - num = pm.load_setuptools_entrypoints("hello") + num = pm.load_setuptools_entrypoints("hello") # type:ignore[unreachable] assert num == 0 # no plugin loaded by this call