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/) 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