1
0
mirror of https://git.piraattipuolue.fi/Pikaviestimet/Pikaviestimet.git synced 2024-11-29 07:29:37 +01:00

.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
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

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"