-
-
Notifications
You must be signed in to change notification settings - Fork 374
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
76 lines (65 loc) · 2.33 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
76 lines (65 loc) · 2.33 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
ci:
autoupdate_schedule: "monthly"
default_language_version:
python: "python3.13"
repos:
- repo: "meta"
hooks:
- id: "check-hooks-apply"
- id: "check-useless-excludes"
- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "3e8a8703264a2f4a69428a0aa4dcb512790b2c8c" # frozen: v6.0.0
hooks:
- id: "check-added-large-files"
- id: "check-merge-conflict"
- id: "check-yaml"
- id: "end-of-file-fixer"
exclude: "\\.xml"
- id: "mixed-line-ending"
exclude: "\\.xml"
args:
- "--fix=lf"
- id: "trailing-whitespace"
exclude: "\\.xml"
- repo: "https://github.com/asottile/pyupgrade"
rev: "75992aaa40730136014f34227e0135f63fc951b4" # frozen: v3.21.2
hooks:
- id: "pyupgrade"
name: "Enforce Python 3.10+ idioms"
args:
- "--py310-plus"
- repo: "https://github.com/psf/black-pre-commit-mirror"
rev: "4160603246a6b365d4a2af661c6d71b0a0f50478" # frozen: 26.5.1
hooks:
- id: "black"
- repo: "https://github.com/pycqa/isort"
rev: "dac090ce4d9ee313d086e2e89ab1acb8c2664fa1" # frozen: 9.0.0a3
hooks:
- id: "isort"
- repo: "https://github.com/pycqa/flake8"
rev: "c48217e1fc006c2dddd14df54e83b67da15de5cd" # frozen: 7.3.0
hooks:
- id: "flake8"
additional_dependencies:
- "flake8-toml-config==1.0.0"
- "flake8-bugbear==25.11.29"
- repo: "https://github.com/editorconfig-checker/editorconfig-checker"
rev: "6fa6539948897d1dceee75b6680d7e9688b5c9e9" # frozen: v3.8.0
hooks:
- id: "editorconfig-checker"
- repo: "https://github.com/python-jsonschema/check-jsonschema"
rev: "6b63472e72e1a91ed8a2f6d483790dfb644fa1d3" # frozen: 0.37.4
hooks:
- id: "check-dependabot"
- id: "check-github-workflows"
- id: "check-readthedocs"
- repo: "https://github.com/rhysd/actionlint"
rev: "914e7df21a07ef503a81201c76d2b11c789d3fca" # frozen: v1.7.12
hooks:
- id: "actionlint"
additional_dependencies:
- "github.com/wasilibs/go-shellcheck/cmd/shellcheck@4e7020840c303923eb1ab846fc446d77be892570"
- repo: "https://github.com/kurtmckee/pre-commit-hooks"
rev: "44b638c826f1acd2ba2c5995db3156be60c5efea" # frozen: v1.0.0
hooks:
- id: "verify-consistent-pyproject-toml-python-requirements"