From ac03b962ed8d85e375a9487b6dafeb3b187bd0d8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Sep 2026 17:30:11 +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.1 → v0.16.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.1...v0.16.6) - [github.com/pre-commit/mirrors-clang-format: v22.1.8 → v23.1.0](https://github.com/pre-commit/mirrors-clang-format/compare/v22.1.8...v23.1.0) - [github.com/python-jsonschema/check-jsonschema: 0.37.4 → 0.38.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.37.4...0.38.0) - [github.com/zizmorcore/zizmor-pre-commit: v1.29.0 → v1.30.0](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.29.0...v1.30.0) - [github.com/tox-dev/pyproject-fmt: v2.26.0 → v2.29.3](https://github.com/tox-dev/pyproject-fmt/compare/v2.26.0...v2.29.3) - [github.com/abravalheri/validate-pyproject: v0.25 → 0.26](https://github.com/abravalheri/validate-pyproject/compare/v0.25...0.26) - [github.com/tox-dev/tox-ini-fmt: 1.8.1 → 1.9.0](https://github.com/tox-dev/tox-ini-fmt/compare/1.8.1...1.9.0) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 772746904e1..97ab4a9d16b 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.16.1 + rev: v0.16.6 hooks: - id: ruff-check args: [--exit-non-zero-on-fix] @@ -24,7 +24,7 @@ repos: exclude: (Makefile$|\.bat$|\.cmake$|\.eps$|\.fits$|\.gd$|\.opt$|\.patch$) - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v22.1.8 + rev: v23.1.0 hooks: - id: clang-format types: [c] @@ -57,14 +57,14 @@ repos: exclude: ^\.github/.*TEMPLATE|^Tests/(fonts|images)/|\.patch$ - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.37.4 + rev: 0.38.0 hooks: - id: check-github-workflows - id: check-readthedocs - id: check-renovate - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.29.0 + rev: v1.30.0 hooks: - id: zizmor @@ -74,18 +74,18 @@ repos: - id: sphinx-lint - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.26.0 + rev: v2.29.3 hooks: - id: pyproject-fmt - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.25 + rev: '0.26' hooks: - id: validate-pyproject additional_dependencies: [trove-classifiers>=2024.10.12] - repo: https://github.com/tox-dev/tox-ini-fmt - rev: 1.8.1 + rev: 1.9.0 hooks: - id: tox-ini-fmt From 7265fd2b4a52a3fe517154a946a1ec8e84a82f12 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Sep 2026 17:30:51 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 16d82d46711..e7adc432c86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,7 +106,9 @@ test-extras = "tests" # Disable platform guessing on macOS to avoid picking up Homebrew etc. macos.config-settings = "raqm=enable raqm=vendor fribidi=vendor imagequant=disable platform-guessing=disable" # Isolate macOS build environment from Homebrew etc. -macos.environment.PATH = "$(pwd)/build/deps/darwin/bin:$(dirname $(which python3)):/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin" +macos.environment.PATH = """\ + $(pwd)/build/deps/darwin/bin:$(dirname $(which python3)):/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin\ + """ # Disable platform guessing on iOS, and disable raqm (since there won't be a # vendor version, and we can't distribute it due to licensing) ios.config-settings = "raqm=disable imagequant=disable platform-guessing=disable" @@ -212,13 +214,13 @@ testpaths = [ ] [tool.coverage] -run.core = "sysmon" # default for 3.14+, available for 3.12+ -run.disable_warnings = [ "no-sysmon" ] # 3.11 run.omit = [ "checks/*.py", "Tests/benchmarks.py", "Tests/createfontdatachunk.py", ] +run.disable_warnings = [ "no-sysmon" ] # 3.11 +run.core = "sysmon" # default for 3.14+, available for 3.12+ report.exclude_also = [ "@abc.abstractmethod", # Empty bodies in protocols or abstract methods