-
Notifications
You must be signed in to change notification settings - Fork 15
/
.pre-commit-config.yaml
58 lines (52 loc) · 1.34 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
# 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
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
require_serial: true
stages: [push]
types: [python]
- id: flake8
name: flake8
description: "flake8: Tool For Style Guide Enforcement"
language: system
entry: make flake8
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
require_serial: true
stages: [push]
types: [python]
- id: pytest
name: pytest
description: "pytest: run python pytest unit test"
language: system
entry: make pytest
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
entry: make version
require_serial: true
stages: [push]
types: [python]