From 871fdc7d30b5bef5d274a145ef9683513d2f2edc Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 17 Sep 2023 20:28:44 +0300 Subject: [PATCH] .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 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b466cb47..c409896b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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