From 4a8e4b0bfb5bbec293f844db1e7bbf863ffdc17b Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 27 May 2022 19:49:24 +0200 Subject: [PATCH] Add locales to excludes --- .pre-commit-config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e050685442..269ddddee9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,10 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks -exclude: ^$InvenTree/InvenTree/static/ +exclude: | + (?x)^( + InvenTree/InvenTree/static/.*| + InvenTree/locale/.* + )$ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.2.0