Skip to content

Commit 26e57c0

Browse files
committed
exclude notebooks from JSON hooks
1 parent fdbb9c3 commit 26e57c0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ repos:
4141
- --fix=lf
4242
- id: trailing-whitespace
4343
- id: pretty-format-json
44+
exclude: ^docs/source/.*\.ipynb$
4445
args:
4546
- --autofix
4647
- --indent=4
4748
- --no-sort-keys
4849
- id: check-merge-conflict
4950
- id: check-yaml
5051
- id: check-json
52+
exclude: ^docs/source/.*\.ipynb$
5153
- id: check-toml
5254

5355
- repo: local

0 commit comments

Comments
 (0)