-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
67 lines (60 loc) · 1.58 KB
/
.pre-commit-config.yaml
File metadata and controls
67 lines (60 loc) · 1.58 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
repos:
- repo: local
hooks:
- id: black
name: black
entry: uv run black
language: system
require_serial: true
types: [python]
args: [--config=pyproject.toml]
- id: isort
name: isort
entry: uv run isort
language: system
types: [python]
args: [--settings-path=pyproject.toml]
pass_filenames: false
- id: flake8
name: flake8
entry: uv run flake8
language: system
types: [python]
args: [--config=.dev-config/.flake8]
pass_filenames: false
- id: pydocstyle
name: pydocstyle
entry: uv run pydocstyle
language: system
types: [python]
args: [--config=.dev-config/.pydocstyle]
pass_filenames: false
- id: mypy
name: mypy
entry: uv run mypy
language: system
types: [python]
args: [--config-file=.dev-config/mypy.ini, .]
pass_filenames: false
- id: pylint
name: pylint
entry: uv run pylint
language: system
types: [python]
args: [--rcfile=.dev-config/.pylintrc]
pass_filenames: false
- id: pytest
name: pytest
entry: uv run pytest
language: system
pass_filenames: false
always_run: true
args: [tests/]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict