-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.pre-commit-config.yaml
132 lines (130 loc) · 3.12 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# nagios-check-hddtemp
# .pre-commit-config.yaml
repos:
- repo: local
hooks:
- id: seed-isort-config
name: seed-isort-config
stages: [commit]
language: system
pass_filenames: false
entry: seed-isort-config
types: [python]
- id: removestar
name: removestar
stages: [commit]
language: system
entry: removestar -i check_hddtemp
types: [python]
- id: isort
name: isort
stages: [commit]
language: system
entry: isort
types: [python]
- id: black
name: black
stages: [commit]
language: system
entry: black check_hddtemp.py tests
types: [python]
- id: yesqa
name: yesqa
stages: [commit]
language: system
pass_filenames: false
entry: yesqa
types: [python]
- id: flake8
name: flake8
stages: [commit]
language: system
entry: flake8
types: [python]
- id: interrogate
name: interrogate
stages: [commit]
language: system
entry: interrogate . -I -M -e .direnv
types: [python]
- id: pylint
name: pylint
stages: [commit]
language: system
entry: pylint check_hddtemp tests
types: [python]
- id: bandit
name: bandit
stages: [commit]
language: system
entry: bandit --ini=setup.cfg
types: [python]
pass_filenames: true
- id: dodgy
name: dodgy
stages: [commit]
language: system
entry: dodgy
types: [python]
pass_filenames: false
- id: darglint
name: darglint
stages: [commit]
language: system
entry: darglint
types: [python]
- id: mypy
name: mypy
stages: [commit]
language: system
entry: bash -c 'PYTHONPATH="$PYTHONPATH:$PWD" mypy'
types: [python]
pass_filenames: false
- id: check-manifest
name: check-manifest
stages: [commit]
language: system
pass_filenames: false
entry: check-manifest
types: [python]
- id: pyroma
name: pyroma
stages: [commit]
language: system
pass_filenames: false
entry: pyroma -d .
types: [python]
- id: check-wheel-contents
name: check-wheel-contents
stages: [commit]
language: system
pass_filenames: false
entry: bash -c 'make build -B && check-wheel-contents dist'
types: [python]
- id: dotenv-linter
name: dotenv-linter
entry: dotenv-linter
language: system
stages: [commit]
types: [text]
files: \.env*
exclude: .envrc
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-ast
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: name-tests-test
- id: trailing-whitespace