-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
73 lines (72 loc) · 1.66 KB
/
.pre-commit-config.yaml
File metadata and controls
73 lines (72 loc) · 1.66 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
# SPDX-FileCopyrightText: 2025 Ohad Livne <libohad-dev@proton.me>
#
# SPDX-License-Identifier: CC0-1.0
repos:
# keep-sorted start
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.9
hooks:
# keep-sorted start
- id: ruff
args: [ --fix ]
- id: ruff-format
# keep-sorted end
- repo: https://github.com/fsfe/reuse-tool
rev: v5.0.2
hooks:
- id: reuse
- repo: https://github.com/gauge-sh/tach-pre-commit
rev: v0.25.2
hooks:
- id: tach
- id: tach-external
args: [--exclude, tests/]
- repo: https://github.com/google/keep-sorted
rev: v0.6.0
hooks:
- id: keep-sorted
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0
hooks:
- id: mypy
additional_dependencies:
# keep-sorted start
- boto3-stubs[s3]>=1.26
- minio>=7.2.20,<7.3
- pytest>=8.4.0,<9
- testcontainers>=4.13,<5
- types-docker>=7.1.0,<7.2
# keep-sorted end
args: [ --strict ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
# keep-sorted start
- id: check-ast
- id: check-executables-have-shebangs
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
# keep-sorted end
- repo: https://github.com/syntaqx/git-hooks
rev: v0.0.18
hooks:
# keep-sorted start
- id: forbid-binary
- id: shellcheck
# keep-sorted end
- repo: local
hooks:
# keep-sorted start
- id: remake-makefile
name: Regenerate the Makefile from the Python implementation
entry: python make.py makefile
language: system
pass_filenames: false
# keep-sorted end
# keep-sorted end