-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
91 lines (82 loc) · 2.27 KB
/
.pre-commit-config.yaml
File metadata and controls
91 lines (82 loc) · 2.27 KB
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
# the hook execution directory in under GITDIR
repos:
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v5.0.0
hooks:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ['@commitlint/config-conventional']
- repo: local
hooks:
- id: black
name: black
description: "Black: The uncompromising Python code formatter"
language: system
entry: make black
require_serial: true
stages: [commit]
types: [python]
- id: check-black
name: check-black
description: "check-black: Check python code formatter"
language: system
entry: make check-black
require_serial: true
stages: [push]
types: [python]
- id: shellcheck
name: shellcheck
description: "shellcheck: Check shell script syntax rule"
language: system
entry: make shellcheck
require_serial: true
stages: [push]
types: [shell]
- 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: shelltest
name: shelltest
description: "shelltest: check the syntax of a script"
language: system
entry: make shelltest
require_serial: true
stages: [push]
types: [shell]