.pre-commit-config.yaml: properly use trailing-whitespace for markdown

This commit is contained in:
Aminda Suomalainen 2023-10-16 09:47:44 +03:00
parent b70b1a2f22
commit 1c0a727aa0
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -25,12 +25,13 @@ repos:
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: trailing-whitespace
args: ["--markdown-linebreak-ext", "md,markdown"]
# I don't want to touch licenses or past association logs or Limnoria
# configuration exports.
exclude: ^LICENSES\/.*|LICENSE|associations\/.*|.*\.conf$$
# File types depending on trailing whitespace. Use identify-cli
exclude_types:
[tsv, markdown]
[svg, tsv]
#- id: check-docstring-first
#- id: check-json
- id: check-merge-conflict