From a9ec7c6cb244ccf43c66bed31d80e7e93eddeec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Pinkava?= Date: Sat, 25 May 2024 06:25:32 +0200 Subject: [PATCH] pre-commit: exclude auto_rx/autorx/static files Those are external donwloaded packages, it does not make sense to use linting on them. --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b3ee3462..a6967b9e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,6 +5,10 @@ repos: rev: v4.3.0 hooks: - id: trailing-whitespace + exclude: | + (?x)(auto_rx/autorx/static) - id: end-of-file-fixer + exclude: | + (?x)(auto_rx/autorx/static) - id: check-added-large-files - id: check-executables-have-shebangs