-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
51 lines (44 loc) · 1.26 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
ci:
autoupdate_schedule: quarterly
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: trailing-whitespace
- id: check-json
- id: pretty-format-json
args: ["--autofix", "--no-sort-keys"]
- repo: "https://github.com/codespell-project/codespell"
rev: v2.4.1
hooks:
- id: codespell
args: ["--ignore-regex", "https://[^\\s]*"]
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.33.0
hooks:
- id: check-github-workflows
- id: check-jsonschema
args: ["--schemafile", "support/doc_config_schema.json"]
files: "\\.doc_config\\.yaml"
types: [yaml]
- repo: "https://github.com/sirosen/texthooks"
rev: 0.6.8
hooks:
- id: alphabetize-codeowners
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 7.2.0
hooks:
- id: flake8
additional_dependencies:
- 'flake8-bugbear==24.12.12'
- 'flake8-comprehensions==3.16.0'
- 'flake8-typing-as-t==1.0.0'