Skip to content

Commit cb2563a

Browse files
GeneAIclaude
authored andcommitted
fix: Pre-commit YAML check and pattern regeneration
- Exclude all mkdocs*.yml from check-yaml (custom constructors) - Change regenerate-patterns to manual stage (requires installation) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent dfeced8 commit cb2563a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ repos:
8484
- id: trailing-whitespace
8585
- id: end-of-file-fixer
8686
- id: check-yaml
87-
exclude: mkdocs.yml # Uses custom YAML constructors
87+
exclude: ^mkdocs.*\.yml$ # Uses custom YAML constructors
8888
- id: check-added-large-files
8989
args: ['--maxkb=1000']
9090
- id: check-merge-conflict
@@ -106,7 +106,7 @@ repos:
106106
language: python
107107
pass_filenames: false
108108
files: ^patterns/.*\.json$
109-
stages: [commit]
109+
stages: [manual] # Requires project installation
110110

111111
# Pattern-based code review (optional - enable with 'stages: [commit]')
112112
# Reviews staged code against historical bug patterns

0 commit comments

Comments
 (0)