forked from hottwaj/classproperties
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
87 lines (74 loc) · 2.23 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
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
default_install_hook_types: [pre-commit, commit-msg]
default_stages: [pre-commit, pre-merge-commit, manual]
default_language_version:
python: python3.13
repos:
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 39.164.1
hooks:
- id: renovate-config-validator
args: [--strict]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.31.1
hooks:
- id: check-github-workflows
- repo: https://github.com/jorisroovers/gitlint
rev: v0.19.1
hooks:
- id: gitlint
- id: gitlint-ci
- repo: https://github.com/gitleaks/gitleaks
rev: v8.23.3
hooks:
- id: gitleaks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: trailing-whitespace
- id: check-executables-have-shebangs
- id: check-illegal-windows-names
- id: check-shebang-scripts-are-executable
- id: check-json
- id: check-xml
- id: check-symlinks
- id: check-merge-conflict
- id: check-vcs-permalinks
- id: destroyed-symlinks
- id: mixed-line-ending
args: [--fix=lf]
- id: check-case-conflict
- id: detect-private-key
- id: fix-byte-order-marker
args: [-h]
- id: name-tests-test
args: [--pytest-test-first]
- id: pretty-format-json
args: [--autofix, --indent, '4']
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.14.0
hooks:
- id: pretty-format-ini
args: [--autofix]
- repo: https://github.com/ComPWA/taplo-pre-commit
rev: v0.9.3
hooks:
- id: taplo-format
- id: taplo-lint
args: [--default-schema-catalogs]
stages: [manual]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.6
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.30
hooks:
- id: uv-lock
always_run: true
- repo: https://github.com/google/yamlfmt
rev: v0.16.0
hooks:
- id: yamlfmt