Skip to content

Commit f0a7734

Browse files
committed
ci: exclude pretty_ from file fixers
1 parent 4cfeb35 commit f0a7734

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
---
2+
exclude: '.*[\\/]pretty_.*\.html$'
23
repos:
34
- repo: https://github.com/pre-commit/pre-commit-hooks
45
rev: v4.6.0
56
hooks:
67
- id: check-yaml # Check YAML files for syntax errors
78
- id: debug-statements # Check for debugger imports and py37+ breakpoint()
89
- id: end-of-file-fixer # Ensure files end in a newline
10+
exclude: '^pretty_.*\.html$'
911
- id: trailing-whitespace # Trailing whitespace checker
12+
exclude: '^pretty_.*\.html$'
1013
- id: check-added-large-files # Check for large files added to git
1114
- id: check-merge-conflict # Check for files that contain merge conflict strings
1215
- repo: https://github.com/pre-commit/pygrep-hooks

0 commit comments

Comments
 (0)