From ca39785c22d30a71202534ea446e42285f2dc01f Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Mon, 17 Aug 2026 08:50:54 +0200 Subject: [PATCH] Configuring for pure-python --- .github/workflows/tests.yml | 4 ++-- .meta.toml | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ef93121..29aeeb2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,8 +47,8 @@ jobs: with: persist-credentials: false - name: Install uv + caching - # astral/setup-uv@9.0.0 - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 + # astral/setup-uv@10.0.0 + uses: astral-sh/setup-uv@ae62891fec2bb8e7d6c99fc78c9fec3a63790f8d with: enable-cache: true cache-dependency-glob: | diff --git a/.meta.toml b/.meta.toml index b2b642e..bb609dc 100644 --- a/.meta.toml +++ b/.meta.toml @@ -2,7 +2,7 @@ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python [meta] template = "pure-python" -commit-id = "3d9788fb" +commit-id = "f40a2b2b" [python] with-pypy = false @@ -41,6 +41,15 @@ additional-sources = "{toxinidir}/tests" [flake8] additional-sources = "tests" +[pre-commit] +additional-config = [ + "- repo: https://github.com/pre-commit/mirrors-mypy", + " rev: v2.1.0", + " hooks:", + " - id: mypy", + " pass_filenames: false", + ] + [manifest] additional-rules = [ "include *.yaml",