From cc2577c3f30fb1c3d6557d4eac4cf5425b5df96c Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Tue, 15 Sep 2026 08:31:02 +0200 Subject: [PATCH 1/2] Update to new pre-commit hooks. --- .github/workflows/tests.yml | 4 ++-- .meta.toml | 2 +- .pre-commit-config.yaml | 13 +++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 29aeeb2..f7f8bc7 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@10.0.0 - uses: astral-sh/setup-uv@ae62891fec2bb8e7d6c99fc78c9fec3a63790f8d + # astral/setup-uv@10.0.1 + uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d with: enable-cache: true cache-dependency-glob: | diff --git a/.meta.toml b/.meta.toml index bb609dc..6c290a0 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 = "f40a2b2b" +commit-id = "7cab96bb" [python] with-pypy = false diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec5b0d5..31b70dc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,15 @@ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python minimum_pre_commit_version: '3.6' repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v6.0.0 + hooks: + - id: check-case-conflict + - id: check-merge-conflict + - id: check-toml + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace - repo: https://github.com/pycqa/isort rev: "8.0.1" hooks: @@ -27,6 +36,10 @@ repos: - id: flake8 additional_dependencies: - flake8-debugger == 4.1.2 + - repo: https://github.com/sphinx-contrib/sphinx-lint + rev: v1.0.2 + hooks: + - id: sphinx-lint - repo: https://github.com/pre-commit/mirrors-mypy rev: v2.1.0 hooks: From 66ff864e442923b7045cc8b25170e4fa25c65932 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Tue, 15 Sep 2026 06:32:35 +0000 Subject: [PATCH 2/2] Apply pre-commit code formatting --- COPYRIGHT.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/COPYRIGHT.txt b/COPYRIGHT.txt index 79859e0..b8581dd 100644 --- a/COPYRIGHT.txt +++ b/COPYRIGHT.txt @@ -1 +1 @@ -Zope Foundation and Contributors \ No newline at end of file +Zope Foundation and Contributors