From 71523b6fe16883ffd173af8a521f830d62ed63e5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 18:54:44 +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.16.10 → v0.17.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.10...v0.17.3) - [github.com/crate-ci/typos: typos-dict-v0.14.2 → v1.51.1](https://github.com/crate-ci/typos/compare/typos-dict-v0.14.2...v1.51.1) --- .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 7c3558a..5f497aa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,7 +38,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 args: [--config, pyproject.toml, hooks, tests] @@ -70,7 +70,7 @@ repos: args: [--wrap, "88"] files: (docs/.) - repo: https://github.com/crate-ci/typos - rev: typos-dict-v0.14.2 + rev: v1.51.1 hooks: - id: typos - repo: meta From 726d35b724d50aa4e760befc9657c5cc40663fd6 Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Sat, 7 Nov 2026 12:02:06 +0100 Subject: [PATCH 2/2] Update generated ty import diagnostic --- .../src/{{cookiecutter.project_slug}}/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/__init__.py b/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/__init__.py index bc1f9e7..7acde81 100644 --- a/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/__init__.py +++ b/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/__init__.py @@ -3,7 +3,7 @@ # Import the version from _version.py which is dynamically created by setuptools-scm # when the project is installed in editable mode. Do not put it into version control! try: - from ._version import version as __version__ # ty: ignore[unresolved-import] + from ._version import version as __version__ # ty: ignore[import-not-found] except ImportError: __version__ = "unknown"