diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d8d26da6..ba21d758 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.14.6" + rev: "v0.14.8" hooks: - id: ruff-check args: ["--fix"] @@ -38,12 +38,12 @@ repos: hooks: - id: rst name: rst - entry: rst-lint --encoding utf-8 + entry: rst-lint files: ^(HOWTORELEASE.rst|README.rst)$ language: python additional_dependencies: [pygments, restructuredtext_lint] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.18.2 + rev: v1.19.0 hooks: - id: mypy files: ^(src/|testing/) diff --git a/testing/test_hookcaller.py b/testing/test_hookcaller.py index 5c42f4b6..f9855814 100644 --- a/testing/test_hookcaller.py +++ b/testing/test_hookcaller.py @@ -327,7 +327,7 @@ def he_myhook3(arg1) -> None: @pytest.mark.parametrize("name", ["hookwrapper", "optionalhook", "tryfirst", "trylast"]) @pytest.mark.parametrize("val", [True, False]) def test_hookimpl(name: str, val: bool) -> None: - @hookimpl(**{name: val}) # type: ignore[misc,call-overload] + @hookimpl(**{name: val}) # type: ignore[untyped-decorator,call-overload] def he_myhook1(arg1) -> None: pass