-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
66 lines (61 loc) · 1.64 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
66 lines (61 loc) · 1.64 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: check-builtin-literals
- id: check-added-large-files
- id: check-case-conflict
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: forbid-new-submodules
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 39d9ac5938dadb73df0564a45f163e25ff9fa6e2 # frozen: v0.16.1
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
- id: ruff-format
- repo: local
hooks:
- id: mypy
name: mypy 3.9
entry: mypy
language: python
language_version: "3.12"
stages: [manual]
'types_or': [ python, pyi ]
exclude: docs|tools|noxfile.py
args: ["--python-version=3.9"]
additional_dependencies:
- mypy==1.20.2
- pytest<9
- types-setuptools
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 41e691678310dfd3833f7ab4e180ddb014310356 # frozen: v2.3.0
hooks:
- id: mypy
name: mypy 3.10
exclude: docs|tools
args: ["--python-version=3.10"]
additional_dependencies:
- nox
- pytest
- types-setuptools
- id: mypy
name: mypy 3.14
exclude: docs
args: ["--python-version=3.14"]
additional_dependencies:
- nox
- pytest
- types-setuptools
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: 451b56af716f9f0d0c2b816503a3fd0cf8b036fa # frozen: v1.29.0
hooks:
- id: zizmor