forked from camas/setuptools-git-ver
-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
83 lines (75 loc) · 1.94 KB
/
.pre-commit-config.yaml
File metadata and controls
83 lines (75 loc) · 1.94 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
repos:
- repo: meta
hooks:
- id: check-hooks-apply
priority: 0
- id: check-useless-excludes
priority: 0
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-case-conflict
priority: 0
- id: check-merge-conflict
priority: 0
- id: check-toml
priority: 0
- id: check-vcs-permalinks
priority: 0
- id: name-tests-test
files: ^tests\/test_(unit|integration)\/.*\.py$
args: [--django]
priority: 0
- id: detect-private-key
priority: 0
- id: end-of-file-fixer
priority: 1
- id: mixed-line-ending
args: [--fix=lf]
types: [python]
priority: 1
- id: fix-byte-order-marker
priority: 2
- id: trailing-whitespace
priority: 3
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: rst-backticks
priority: 0
- id: rst-directive-colons
priority: 0
- id: rst-inline-touching-normal
priority: 0
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
hooks:
- id: codespell
exclude: uv.lock
args: [-w]
priority: 4
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.16.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2', --preserve-quotes, --offset, '2']
priority: 5
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.2
hooks:
- id: uv-lock
priority: 5
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.8
hooks:
- id: ruff-format
priority: 5
- id: ruff-check
args: [--fix]
priority: 6
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.19.1
hooks:
- id: mypy
additional_dependencies: [types-toml]
priority: 7