-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
94 lines (80 loc) · 2.16 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
94 lines (80 loc) · 2.16 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
ci:
autoupdate_schedule: "quarterly"
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: "v6.0.0"
hooks:
- id: "check-added-large-files"
- id: "check-merge-conflict"
- id: "check-yaml"
- id: "end-of-file-fixer"
- id: "mixed-line-ending"
args:
- "--fix=lf"
- id: "trailing-whitespace"
- repo: "https://github.com/asottile/pyupgrade"
rev: "v3.21.2"
hooks:
- id: "pyupgrade"
name: "Enforce Python 3.10+ idioms"
args: ["--py310-plus"]
- repo: "https://github.com/sirosen/slyp"
rev: "0.9.0"
hooks:
- id: "slyp"
- repo: 'https://github.com/kurtmckee/chipshot'
rev: 'v0.9.0'
hooks:
- id: 'update-headers'
types:
- "python"
- repo: "https://github.com/psf/black-pre-commit-mirror"
rev: "26.5.1"
hooks:
- id: "black"
- repo: "https://github.com/pycqa/isort"
rev: "9.0.0a3"
hooks:
- id: "isort"
- repo: "https://github.com/pycqa/flake8"
rev: "7.3.0"
hooks:
- id: "flake8"
additional_dependencies:
- "flake8-toml-config==1.0.0"
- "flake8-bugbear==25.11.29"
- "flake8-typing-as-t==1.1.0"
- repo: "https://github.com/editorconfig-checker/editorconfig-checker"
rev: "v3.8.0"
hooks:
- id: "editorconfig-checker"
- repo: "https://github.com/python-jsonschema/check-jsonschema"
rev: "0.37.4"
hooks:
- id: "check-dependabot"
- repo: "https://github.com/rhysd/actionlint"
rev: "v1.7.12"
hooks:
- id: "actionlint"
- repo: "https://github.com/kurtmckee/pre-commit-hooks"
rev: "v1.0.0"
hooks:
- id: "verify-consistent-pyproject-toml-python-requirements"
- repo: "https://github.com/thlorenz/doctoc"
rev: "v2.5.0"
hooks:
- id: "doctoc"
args:
[
"--github",
"--update-only",
"--maxlevel", "4",
"--mintocitems", "2",
"--title", "## Table of contents",
]