-
Notifications
You must be signed in to change notification settings - Fork 233
/
.pre-commit-config.yaml
70 lines (64 loc) · 1.57 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
# the hook execution directory in under git root directory
repos:
- repo: local
hooks:
- id: pylint
name: pylint
description: "Pylint: Checks for errors in Python code"
language: system
entry: make pylint
always_run: true
verbose: true
require_serial: true
stages: [push]
types: [python]
- id: pycodestyle
name: pycodestyle
description: "pycodestyle: Check your Python code against styles conventions in PEP 8"
language: system
entry: make pycodestyle
always_run: true
verbose: true
require_serial: true
stages: [push]
types: [python]
- id: flake8
name: flake8
description: "flake8: Tool For Style Guide Enforcement"
language: system
entry: make flake8
always_run: true
verbose: true
require_serial: true
stages: [push]
types: [python]
- id: mypy
name: mypy
description: "mypy: an optional static type checker for Python"
language: system
entry: make mypy
always_run: true
verbose: true
require_serial: true
stages: [push]
types: [python]
- id: pytest
name: pytest
description: "pytest: run python pytest unit test"
language: system
entry: make pytest
always_run: true
verbose: true
require_serial: true
stages: [push]
types: [python]
- id: bump-version
name: bump-version
description: "Bumped Version: bump the version when a new commit come in"
language: system
always_run: true
verbose: true
entry: make version
require_serial: true
stages: [push]
types: [python]