Skip to content

Commit 8aa637d

Browse files
GeneAIclaude
authored andcommitted
chore: Exclude generated directories from pre-commit hooks
Add global exclude pattern for site/, website/public/, node_modules/, and build artifacts to prevent pre-commit from checking generated files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent dda8d3d commit 8aa637d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
# Run: pre-commit install
33
# Manual run: pre-commit run --all-files
44

5+
# Exclude generated and third-party directories
6+
exclude: |
7+
(?x)^(
8+
site/|
9+
website/public/|
10+
examples/wizard-dashboard/node_modules/|
11+
\.venv/|
12+
build/|
13+
dist/|
14+
.*\.egg-info/
15+
)
16+
517
repos:
618
# Black - Code formatter
719
- repo: https://github.com/psf/black

0 commit comments

Comments
 (0)