.pre-commit-config.yaml: enable trailing-whitespace hook

This commit is contained in:
Aminda Suomalainen 2023-05-07 18:28:59 +03:00
parent 2a6bd4a024
commit dc538d6489
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -10,6 +10,12 @@ repos:
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: trailing-whitespace
# 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]
- repo: https://github.com/thlorenz/doctoc
rev: v2.2.0
hooks: