.pre-commit-config.yaml: remove extraneous hook, add check-pre-commit-ci-config

Co-authored-by: Tessu Suomalainen <soopeli@aminda.eu>
This commit is contained in:
Aminda Suomalainen 2024-07-30 12:29:24 +03:00
parent 8e8a10b9ed
commit c37af52cec
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -3,7 +3,7 @@
# See https://pre-commit.com for more information # See https://pre-commit.com for more information
# See https://pre-commit.ci for more information # See https://pre-commit.ci for more information
ci: ci:
skip: [install-dev-deps, prettier] skip: [prettier]
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease # Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
# the frequency of unnecessary PRs. # the frequency of unnecessary PRs.
# https://github.com/pre-commit-ci/issues/issues/83 # https://github.com/pre-commit-ci/issues/issues/83
@ -50,6 +50,11 @@ repos:
"Name,name", "Name,name",
] ]
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
rev: v1.6.1
hooks:
- id: check-pre-commit-ci-config
# Markdown Table of Contents generation. # Markdown Table of Contents generation.
- repo: https://github.com/thlorenz/doctoc - repo: https://github.com/thlorenz/doctoc
rev: v2.2.0 rev: v2.2.0