diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9607d29..05ced93 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: python-use-type-annotations - id: text-unicode-replacement-char - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.10 + rev: v0.17.3 hooks: - id: ruff-check - id: ruff-format @@ -42,7 +42,7 @@ repos: ] args: [--wrap, "88"] - repo: https://github.com/crate-ci/typos - rev: typos-dict-v0.14.2 + rev: v1.51.1 hooks: - id: typos - repo: meta diff --git a/src/pytask_latex/__init__.py b/src/pytask_latex/__init__.py index ac64b33..36e8b0a 100644 --- a/src/pytask_latex/__init__.py +++ b/src/pytask_latex/__init__.py @@ -3,7 +3,7 @@ from __future__ import annotations try: - from ._version import version as __version__ # ty: ignore[unresolved-import] + from ._version import version as __version__ # ty: ignore[import-not-found] except ImportError: # pragma: no cover # broken installation, we don't even try unknown only works because we do poor mans # version compare