-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
63 lines (53 loc) · 1.76 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
63 lines (53 loc) · 1.76 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
ci:
autoupdate_schedule: "quarterly"
default_language_version:
python: "python3.12"
exclude: "tests/templates/"
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"
- id: "mixed-line-ending"
args:
- "--fix=lf"
- id: "trailing-whitespace"
- repo: "https://github.com/asottile/pyupgrade"
rev: "75992aaa40730136014f34227e0135f63fc951b4" # frozen: v3.21.2
hooks:
- id: "pyupgrade"
name: "Enforce Python 3.9+ idioms"
args:
- "--py39-plus"
- repo: "https://github.com/psf/black-pre-commit-mirror"
rev: "4160603246a6b365d4a2af661c6d71b0a0f50478" # frozen: 26.5.1
hooks:
- id: "black"
- repo: "https://github.com/pycqa/flake8"
rev: "c48217e1fc006c2dddd14df54e83b67da15de5cd" # frozen: 7.3.0
hooks:
- id: "flake8"
additional_dependencies:
- "flake8-bugbear==24.8.19"
- repo: "https://github.com/pre-commit/mirrors-mypy"
rev: "41e691678310dfd3833f7ab4e180ddb014310356" # frozen: v2.3.0
hooks:
- id: "mypy"
additional_dependencies:
- "flask>=3.0"
- repo: "https://github.com/python-jsonschema/check-jsonschema"
rev: "6b63472e72e1a91ed8a2f6d483790dfb644fa1d3" # frozen: 0.37.4
hooks:
- id: "check-dependabot"
- id: "check-github-workflows"
- repo: "https://github.com/rhysd/actionlint"
rev: "914e7df21a07ef503a81201c76d2b11c789d3fca" # frozen: v1.7.12
hooks:
- id: "actionlint"