1
0
mirror of https://gitea.blesmrt.net/mikaela/language-resources.git synced 2024-11-25 20:59:23 +01:00

.pre-commit-config.yaml: pypy3, doctoc notitle, autoupdate

This commit is contained in:
Aminda Suomalainen 2023-10-03 13:12:37 +03:00
parent 9aecdc546f
commit 17145599ba
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -8,12 +8,16 @@ 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.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
@ -27,20 +31,20 @@ repos:
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/fsfe/reuse-tool - repo: https://github.com/fsfe/reuse-tool
rev: v1.1.2 rev: v2.1.0
hooks: hooks:
- id: reuse - id: reuse
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.9-for-vscode" rev: "v3.0.3"
hooks: hooks:
- id: prettier - id: prettier
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python - repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: "2.7.1" rev: "2.7.2"
hooks: hooks:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec