.pre-commit-config.yaml: add doctoc with update-only argument

This commit is contained in:
Aminda Suomalainen 2023-03-23 16:34:17 +02:00
parent 7c1d0a1682
commit a07b56328a
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -28,3 +28,8 @@ repos:
hooks: hooks:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc
args: [--update-only]