.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
1 changed files with 7 additions and 5 deletions

View File

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