-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.pre-commit-config.yaml
46 lines (41 loc) · 1.05 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
repos:
- repo: local
hooks:
- id: trailing-whitespace-fixer
name: trailing-whitespace-fixer
stages: [commit]
language: system
entry: trailing-whitespace-fixer
types: [python]
- id: end-of-file-fixer
name: end-of-file-fixer
stages: [commit]
language: system
entry: end-of-file-fixer
types: [text]
exclude: docs/CNAME
- id: isort
name: isort
stages: [commit]
language: system
entry: isort
types: [python]
- id: yapf
name: yapf
stages: [commit]
language: system
entry: yapf
types: [python]
- id: flake8
name: flake8
stages: [commit]
language: system
entry: flake8
types: [python]
- id: mypy
name: mypy
stages: [commit]
language: system
entry: mypy src/pfun
types: [python]
pass_filenames: false