Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Add `frontend/` to frontend-specific exclusion

Dhruv Bhanushali58b2b4c32cff
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a51cb5d9b..3281ff6ca 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -20,7 +20,7 @@ repos:
- id: check-xml
- id: check-yaml
- id: end-of-file-fixer
- exclude: test/tapes/.+\.json5
+ exclude: frontend/test/tapes/.+\.json5
- id: check-symlinks
- id: mixed-line-ending
- id: fix-encoding-pragma
diff --git a/templates/.pre-commit-config.yaml.jinja b/templates/.pre-commit-config.yaml.jinja
index e04fb68ea..2de1949e2 100644
--- a/templates/.pre-commit-config.yaml.jinja
+++ b/templates/.pre-commit-config.yaml.jinja
@@ -24,7 +24,7 @@ repos:
- id: check-xml
- id: check-yaml
- id: end-of-file-fixer
- exclude: test/tapes/.+\.json5
+ exclude: frontend/test/tapes/.+\.json5
- id: check-symlinks
- id: mixed-line-ending
- id: fix-encoding-pragma