-
Notifications
You must be signed in to change notification settings - Fork 11
/
.pre-commit-config.yaml
53 lines (53 loc) · 1.4 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
47
48
49
50
51
52
53
repos:
- repo: local
hooks:
- id: trailing-whitespace
name: trailing-whitespace
entry: trailing-whitespace-fixer
language: python
exclude: ^(.*fits|.*pt|.*pkl|.*npz|.*ckpt|.*png|.*inv|.*npy|.*pdf|.*jpg)
- id: check-added-large-files
name: check-added-large-files
entry: check-added-large-files
language: python
args:
- "--maxkb=15000"
- id: check-merge-conflict
name: check-merge-conflict
entry: check-merge-conflict
language: python
- id: end-of-file-fixer
name: end-of-file-fixer
entry: end-of-file-fixer
language: python
exclude: ^(.*fits|.*pt|.*pkl|.*npz|.*ckpt|.*png|.*inv|.*npy|.*pdf|.*jpg)
- id: isort
name: isort
entry: isort
language: system
types: [python]
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
- id: flake8
name: flake8
entry: flake8
language: system
types: [python]
- id: darglint
name: darglint
entry: darglint
language: system
types: [python]
- id: black
name: black
entry: black
language: python
language_version: python3.10
types: [python]
args:
- "--check"
- "--diff"
- "--line-length=100"