From 67df87332a05132c007a546dc8a0bdfd7018bd24 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 00:15:55 +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/rbubley/mirrors-prettier: 39e2973981e6d2f9b6c543b0086a2d2393abdc89 → ef4a397f916211b4a39ccf9d3d9cbb6562157251](https://github.com/rbubley/mirrors-prettier/compare/39e2973981e6d2f9b6c543b0086a2d2393abdc89...ef4a397f916211b4a39ccf9d3d9cbb6562157251) - [github.com/astral-sh/ruff-pre-commit: c59bba8fb259db0fec2bbb77ad8ba51ea7341b56 → f12be1ebaa5351c1fc76472de98db2c3446c8253](https://github.com/astral-sh/ruff-pre-commit/compare/c59bba8fb259db0fec2bbb77ad8ba51ea7341b56...f12be1ebaa5351c1fc76472de98db2c3446c8253) - [github.com/codespell-project/codespell: 2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a → 57b21406f092110c18776e39b0bda50d37c945c8](https://github.com/codespell-project/codespell/compare/2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a...57b21406f092110c18776e39b0bda50d37c945c8) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 49c50817..8c9d3cf3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,21 +19,21 @@ repos: - id: trailing-whitespace - repo: https://github.com/rbubley/mirrors-prettier - rev: 39e2973981e6d2f9b6c543b0086a2d2393abdc89 # frozen: v3.9.4 + rev: ef4a397f916211b4a39ccf9d3d9cbb6562157251 # frozen: v3.9.9 hooks: - id: prettier files: \.(css|md|yml|yaml) args: [--prose-wrap=preserve] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: c59bba8fb259db0fec2bbb77ad8ba51ea7341b56 # frozen: v0.15.20 + rev: f12be1ebaa5351c1fc76472de98db2c3446c8253 # frozen: v0.16.10 hooks: - id: ruff args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"] - id: ruff-format - repo: https://github.com/codespell-project/codespell - rev: "2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a" # frozen: v2.4.2 + rev: "57b21406f092110c18776e39b0bda50d37c945c8" # frozen: v2.4.3 hooks: - id: codespell args: From 33266720d13cd1477f33db37e694c09d6c5b5934 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 00:21:42 +0000 Subject: [PATCH 2/2] =?UTF-8?q?[pre-commit.ci=20=F0=9F=A4=96]=20Apply=20co?= =?UTF-8?q?de=20format=20tools=20to=20PR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 6 +++--- tools/md-header-to-json.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8c9d3cf3..daa89406 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,21 +19,21 @@ repos: - id: trailing-whitespace - repo: https://github.com/rbubley/mirrors-prettier - rev: ef4a397f916211b4a39ccf9d3d9cbb6562157251 # frozen: v3.9.9 + rev: ef4a397f916211b4a39ccf9d3d9cbb6562157251 # frozen: v3.9.9 hooks: - id: prettier files: \.(css|md|yml|yaml) args: [--prose-wrap=preserve] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: f12be1ebaa5351c1fc76472de98db2c3446c8253 # frozen: v0.16.10 + rev: f12be1ebaa5351c1fc76472de98db2c3446c8253 # frozen: v0.16.10 hooks: - id: ruff args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"] - id: ruff-format - repo: https://github.com/codespell-project/codespell - rev: "57b21406f092110c18776e39b0bda50d37c945c8" # frozen: v2.4.3 + rev: "57b21406f092110c18776e39b0bda50d37c945c8" # frozen: v2.4.3 hooks: - id: codespell args: diff --git a/tools/md-header-to-json.py b/tools/md-header-to-json.py index ea802c20..f20753cb 100644 --- a/tools/md-header-to-json.py +++ b/tools/md-header-to-json.py @@ -1,8 +1,9 @@ #!/usr/bin/env python +import json import sys + import yaml -import json files = sys.argv[1:]