Skip to content

Commit f2392ad

Browse files
committed
Add pre-commit config file.
* Add yapf hook to format python code. * Add Remove CRLF
1 parent b87427b commit f2392ad

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
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+
- repo: https://github.com/Lucas-C/pre-commit-hooks.git
2+
sha: c25201a00e6b0514370501050cf2a8538ac12270
3+
hooks:
4+
- id: remove-crlf
5+
- repo: https://github.com/reyoung/mirrors-yapf.git
6+
sha: v0.13.2
7+
hooks:
8+
- id: yapf
9+

0 commit comments

Comments
 (0)