-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.pre-commit-config.yml
38 lines (35 loc) · 975 Bytes
/
.pre-commit-config.yml
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
repos:
- repo: local
hooks:
- id: reformat
name: reformat
description: "Code formatter"
entry: pipenv run inv reformat
language: python
types: [python]
require_serial: true
pass_filenames: false
- id: lint
name: lint
description: "Code linter"
entry: pipenv run inv lint
language: python
types: [python]
require_serial: true
pass_filenames: false
- id: static-check
name: static-check
description: "Static type checker"
entry: pipenv run inv static-check
language: python
types: [python]
require_serial: true
pass_filenames: false
- id: security-check
name: security-check
description: "Security checker"
entry: pipenv run inv security-check
language: python
types: [python]
require_serial: true
pass_filenames: false