Skip to content

Commit b2adfdb

Browse files
committed
Added pre-commit config
1 parent 684029d commit b2adfdb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.pre-commit-config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0 # Use the latest stable version
4+
hooks:
5+
- id: check-added-large-files # Prevent giant files from being committed.
6+
args: ["--maxkb=1000"]
7+
- id: check-merge-conflict # Check for files that contain merge conflict strings.
8+
- id: check-toml # Attempts to load all TOML files to verify syntax.
9+
- id: check-yaml # Attempts to load all yaml files to verify syntax.
10+
args: ["--unsafe"]
11+
12+
- repo: https://github.com/kynan/nbstripout
13+
rev: 0.8.1
14+
hooks:
15+
- id: nbstripout # remove jupyter notebook cell output

0 commit comments

Comments
 (0)