Skip to content

Commit e43f79e

Browse files
committed
Add pre-commit
1 parent cfdeb5c commit e43f79e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v6.0.0
4+
hooks:
5+
- id: check-toml
6+
- id: check-yaml
7+
- id: end-of-file-fixer
8+
- id: mixed-line-ending
9+
- id: trailing-whitespace

user-settings/@ryantam626/jupyterlab_code_formatter/settings.jupyterlab-settings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
"line_length": 100
88
},
99
"formatOnSave": true
10-
}
10+
}

0 commit comments

Comments
 (0)