-
-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
71 lines (68 loc) · 1.88 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
71 lines (68 loc) · 1.88 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
ci:
autoupdate_schedule: monthly
skip:
- clang-format
default_language_version:
python: python3.14
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/crate-ci/typos
rev: c132f8b9e3ac7f8f0625490b1cb5b906d1d6a63a # frozen: v1
hooks:
- id: typos
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 3b42b9776870badc9eaffdef9a4a0834b764d87c # frozen: v2.29.3
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.9"]
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 241ced4140307006cfd8b2b9ccfd43b1139cfe4a # frozen: 1.9.0
hooks:
- id: tox-ini-fmt
- repo: https://github.com/rstcheck/rstcheck
rev: 27a8027d6c6df787891a01b76e8298bac493fb58 # frozen: v6.3.0
hooks:
- id: rstcheck
additional_dependencies:
- sphinx==8.1.3
- tomli==2.0.1
- repo: https://github.com/adamchainz/blacken-docs
rev: dda8db18cfc68df532abf33b185ecd12d5b7b326 # frozen: 1.20.0
hooks:
- id: blacken-docs
additional_dependencies:
- black==25.1.0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 321478e58f4938179c6b86e4ddfa923d1547a49b # frozen: v0.16.6
hooks:
- id: ruff-check
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 7ff8d35ae36a7d2b968f2f90b4c723e292e594ee # frozen: v2.3.1
hooks:
- id: mypy
additional_dependencies:
- hypothesis==6.165.2
- pytest==7.1.2
- types-python-dateutil
- repo: local
hooks:
- id: clang-format
name: clang-format
description: ''
entry: clang-format -i
language: system
types_or:
- c
args: [ -style=file ]