.pre-commit-config.yaml: move doctoc higher up, disable ec line length checking

This commit is contained in:
Aminda Suomalainen 2023-04-12 09:02:17 +03:00
parent 6743a0912d
commit ed2151ecc7
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -15,6 +15,12 @@ repos:
- id: end-of-file-fixer
- id: fix-byte-order-marker
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc
args: [--update-only]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.22.0
hooks:
@ -39,8 +45,4 @@ repos:
hooks:
- id: editorconfig-checker
alias: ec
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc
args: [--update-only]
args: [-disable-max-line-length]