Skip to content

Commit

Permalink
exclude static file globally
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Aug 22, 2024
1 parent a0b70ff commit d4cbeea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
default_stages: [ commit ]

exclude: '.*static.*'

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
Expand All @@ -18,7 +20,6 @@ repos:
- id: mixed-line-ending
args: [ --fix=lf ]
- id: end-of-file-fixer
exclude: '.*static.*'

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.1
Expand Down

0 comments on commit d4cbeea

Please sign in to comment.