File tree 2 files changed +17
-33
lines changed
2 files changed +17
-33
lines changed Original file line number Diff line number Diff line change 1
- - repo : local
1
+ repos :
2
+ - repo : https://github.com/PaddlePaddle/mirrors-yapf.git
3
+ sha : 0d79c0c469bab64f7229c9aca2b1186ef47f0e37
2
4
hooks :
3
5
- id : yapf
4
- name : yapf
5
- entry : yapf
6
- language : system
7
- args : [-i, --style .style.yapf]
8
6
files : \.py$
9
-
10
7
- repo : https://github.com/pre-commit/pre-commit-hooks
11
8
sha : a11d9314b22d8f8c7556443875b731ef05965464
12
9
hooks :
13
10
- id : check-merge-conflict
14
11
- id : check-symlinks
12
+ - id : detect-private-key
13
+ files : (?!.*paddle)^.*$
15
14
- id : end-of-file-fixer
15
+ files : \.md$
16
16
- id : trailing-whitespace
17
- - id : detect-private-key
18
- - id : check-symlinks
19
- - id : check-added-large-files
20
-
21
- - repo : local
22
- hooks :
23
- - id : flake8
24
- name : flake8
25
- entry : flake8
26
- language : system
27
- args :
28
- - --count
29
- - --select=E9,F63,F7,F82
30
- - --show-source
31
- - --statistics
32
- files : \.py$
33
-
34
- - repo : local
17
+ files : \.md$
18
+ - repo : https://github.com/Lucas-C/pre-commit-hooks
19
+ sha : v1.0.1
35
20
hooks :
36
- - id : copyright_checker
37
- name : copyright_checker
38
- entry : python ./.copyright.hook
39
- language : system
40
- files : \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto|py)$
41
- exclude : (?!.*third_party)^.*$
21
+ - id : forbid-crlf
22
+ files : \.md$
23
+ - id : remove-crlf
24
+ files : \.md$
25
+ - id : forbid-tabs
26
+ files : \.md$
27
+ - id : remove-tabs
28
+ files : \.md$
Original file line number Diff line number Diff line change 1
- pre-commit
2
- yapf == 0.26.0
3
- flake8
4
1
pyyaml >= 5.1
5
2
visualdl >= 2.0.0
6
3
opencv-python
You can’t perform that action at this time.
0 commit comments