mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-29 05:14:42 +02:00
ci: validate README TOC before merging
This commit is contained in:
parent
a936519866
commit
a3d10fa56f
3 changed files with 7 additions and 12 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue