-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
48 lines (46 loc) · 1.25 KB
/
.pre-commit-config.yaml
File metadata and controls
48 lines (46 loc) · 1.25 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
repos:
- repo: local
hooks:
- id: pytest
name: pytest
entry: make test/pytest
language: system
pass_filenames: false
- id: ruff
name: ruff
entry: make test/ruff
language: system
pass_filenames: false
- id: black
name: black
entry: make test/black
language: system
pass_filenames: false
- id: mypy
name: mypy
entry: make test/mypy
language: system
pass_filenames: false
- id: tomlsort
name: tomlsort
entry: make test/tomlsort
language: system
pass_filenames: false
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0 , 9 Aug 2025
hooks:
- id: check-added-large-files
args: ['--maxkb=100']
- id: check-case-conflict
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: end-of-file-fixer
exclude: '\.(diff|patch)$'
- id: trailing-whitespace
exclude: '\.(diff|patch)$'
- id: check-json
- id: check-yaml
ci:
autoupdate_schedule: quarterly
autoupdate_commit_msg: "Update pre-commit version"
# vim: set nowrap tw=100: