Skip to content

Commit ff90b5f

Browse files
committed
Add exclusion patterns for end-of-file-fixer in pre-commit configuration
1 parent 365da28 commit ff90b5f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ repos:
33
rev: v6.0.0
44
hooks:
55
- id: end-of-file-fixer
6+
exclude: |
7+
(?x)^(
8+
examples/nbconverted/.*|
9+
examples/nbconvert/.*|
10+
.*\.ipynb$
11+
)
612
713
- repo: https://github.com/astral-sh/ruff-pre-commit
814
rev: v0.14.0

0 commit comments

Comments
 (0)