ci: validate README TOC before merging

This commit is contained in:
Bas Nijholt 2026-09-06 22:58:17 -07:00
commit a3d10fa56f
3 changed files with 7 additions and 12 deletions

View file

@ -7,6 +7,12 @@ repos:
- id: end-of-file-fixer
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/thlorenz/doctoc
rev: v2.5.0
hooks:
- id: doctoc
files: ^README[^/]*\.md$
args: ["--notitle"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.5
hooks: