-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
47 lines (43 loc) · 1.16 KB
/
.pre-commit-config.yaml
File metadata and controls
47 lines (43 loc) · 1.16 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
repos:
- repo: local
hooks:
- id: ruff
name: ruff
entry: bash -c "cd python_coderunner && ruff check ."
language: system
types: [python]
stages: [pre-commit]
verbose: true
pass_filenames: false
- id: ruff_format
name: ruff_format
# not in args, because entry is bash
entry: bash -c "cd python_coderunner && ruff format --quiet ."
language: system
types: [python]
stages: [pre-commit]
verbose: true
pass_filenames: false
- id: mypy
name: mypy
entry: bash -c "cd python_coderunner && mypy ."
language: system
types: [python]
stages: [pre-commit]
verbose: true
pass_filenames: false
- id: pylint
name: pylint
entry: bash -c "cd python_coderunner && pylint ."
language: system
types: [python]
stages: [pre-commit]
verbose: true
pass_filenames: false
- id: commitlint
name: commitlint
entry: commitlint
args: [--file]
language: system
stages: [commit-msg]
verbose: true