1
0
mirror of https://github.com/Mikaela/cv.git synced 2024-11-26 02:19:23 +01:00

.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

View File

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