-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
109 lines (96 loc) · 2.43 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
109 lines (96 loc) · 2.43 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
priorities:
fix: 0
fix-py: 10
fix-eol: 20
fix-whitespace: 30
check: 40
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.1
hooks:
- id: ruff-check
args: [--exit-non-zero-on-fix]
priority: fix
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.5.1
hooks:
- id: black
priority: fix-py
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
priority: check
- id: check-case-conflict
priority: check
- id: check-merge-conflict
priority: check
- id: check-json
priority: check
- id: check-toml
priority: check
- id: check-yaml
priority: check
- id: debug-statements
priority: check
- id: end-of-file-fixer
priority: fix-eol
- id: forbid-submodules
priority: check
- id: requirements-txt-fixer
priority: fix
- id: trailing-whitespace
priority: fix-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.4
hooks:
- id: check-github-workflows
priority: check
- id: check-renovate
priority: check
- repo: https://github.com/rhysd/actionlint
rev: v1.7.12
hooks:
- id: actionlint
priority: check
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.28.0
hooks:
- id: zizmor
priority: check
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.25.3
hooks:
- id: pyproject-fmt
priority: fix
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.25
hooks:
- id: validate-pyproject
additional_dependencies: ["trove-classifiers>=2026.6.1.19"]
priority: check
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 1.8.0
hooks:
- id: tox-ini-fmt
priority: fix
- repo: https://github.com/google/yamlfmt
rev: v0.21.0
hooks:
- id: yamlfmt
priority: fix
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.9.6
hooks:
- id: prettier
args: [--prose-wrap=always, --print-width=88]
exclude_types: [yaml]
priority: fix
- repo: meta
hooks:
- id: check-hooks-apply
priority: check
- id: check-useless-excludes
priority: check
ci:
autoupdate_schedule: quarterly