From ed2151ecc7de68e087220bad1e4053a6b5c344dd Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 12 Apr 2023 09:02:17 +0300 Subject: [PATCH] .pre-commit-config.yaml: move doctoc higher up, disable ec line length checking --- .pre-commit-config.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a14e6ea..41c0960 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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]