.pre-commit-config.yaml: remove workarounds, add merge conflict & line-ending checks

This commit is contained in:
Aminda Suomalainen ⚧ 2023-10-19 10:58:24 +03:00
parent d20f9c48b0
commit 891a61bcf5
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 4 additions and 6 deletions

View File

@ -4,11 +4,6 @@ ci:
# https://github.com/pre-commit-ci/issues/issues/83
autoupdate_schedule: quarterly
# Aminda has too bleeding edge Python, pypy3 should be universal enough to
# work for everyone.
default_language_version:
python: pypy3
repos:
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
@ -29,7 +24,10 @@ repos:
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: trailing-whitespace
exclude_types: [tsv, markdown]
args: ["--markdown-linebreak-ext", "md,markdown"]
exclude_types: [svg, tsv]
- id: check-merge-conflict
- id: mixed-line-ending
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.3"