-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
59 lines (53 loc) · 1.39 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
fail_fast: true
repos:
- repo: local
hooks:
- id: ruff
name: ruff
entry: ruff check
language: python
types: [python]
args: ["--fix", "--force-exclude"]
- id: ruff-format
name: ruff format
entry: ruff format
language: python
types: [python]
args: ["--force-exclude"]
- repo: local
hooks:
- id: mypy
name: mypy
entry: "mypy ./src/aroma/aroma"
language: python
language_version: python3.12
additional_dependencies: ["mypy",
"mypy-extensions",
"types-requests"]
types: [python]
args: ["--config-file=pyproject.toml"]
require_serial: true
verbose: true
pass_filenames: false
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.338
hooks:
- id: pyright
- repo: local
hooks:
- id: pylint
name: pylint
entry: "pylint src"
language: python
language_version: python3.12
additional_dependencies: []
types: [python]
args: ["--rcfile=pyproject.toml"]
require_serial: true
verbose: true
pass_filenames: false
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.29.0
hooks:
- id: commitizen
stages: [commit-msg]