From a0bd01793b2a1243b589f9ed3a725305db4d84db Mon Sep 17 00:00:00 2001 From: Trim21 Date: Thu, 22 Aug 2024 15:44:36 +0800 Subject: [PATCH] exclude static file globally --- .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 28ad680..61b123b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ default_stages: [ commit ] -exclude: '.*static.*' +exclude: '^server/static/.*' repos: - repo: https://github.com/pre-commit/pre-commit-hooks