.pre-commit-config.yaml: sync/import parts of mikaela.github.io

This commit is contained in:
Aminda Suomalainen 2023-10-01 10:00:55 +03:00
parent a7a9f61be3
commit d79eb44124
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 12 additions and 2 deletions

View File

@ -4,12 +4,17 @@ ci:
# This project is not active enough to justify weekly autoupdates.
autoupdate_schedule: quarterly
# Use pypy3 for the Python hooks
default_language_version:
python: pypy3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-yaml
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: destroyed-symlinks
@ -19,14 +24,19 @@ repos:
- id: trailing-whitespace
exclude_types: [markdown]
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
rev: v1.6.1
hooks:
- id: check-pre-commit-ci-config
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks:
- id: doctoc
args: [--update-only]
args: [--update-only, --notitle]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.26.3
rev: 0.27.0
hooks:
- id: check-dependabot
- id: check-github-actions