.pre-commit-config.yaml: pypy3, fix markdown, sort hooks a bit

This commit is contained in:
Aminda Suomalainen ⚧ 2023-11-05 20:14:35 +02:00
parent 35d8782fe1
commit e36e4eb9f7
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 7 additions and 4 deletions

View File

@ -4,21 +4,24 @@ ci:
# https://github.com/pre-commit-ci/issues/issues/83 # https://github.com/pre-commit-ci/issues/issues/83
autoupdate_schedule: quarterly autoupdate_schedule: quarterly
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.5.0 rev: v4.5.0
hooks: hooks:
- id: trailing-whitespace
args: ["--markdown-linebreak-ext", "md"]
- id: end-of-file-fixer
- id: check-yaml
- 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
- id: detect-private-key - id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker - id: fix-byte-order-marker
- id: trailing-whitespace
exclude_types: [markdown]
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.3" rev: "v3.0.3"