.pre-commit-config.yaml: exlude svg files from trailing-whitespace fixer and swap order from common to less common

I noticed it breaking an svg file at the-draupnir-project/draupnir4all_status#1
This commit is contained in:
Aminda Suomalainen 2023-09-17 20:28:44 +03:00
parent 34cdd5eee8
commit 871fdc7d30
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -26,7 +26,7 @@ repos:
# Let's not touch LICENSE files or reuse.software directory
exclude: ^LICENSES\/.*|LICENSE$
# File types depending on trailing whitespace. Use identify-cli
exclude_types: [tsv, markdown]
exclude_types: [svg, markdown, tsv]
# Markdown Table of Contents generation.
- repo: https://github.com/thlorenz/doctoc