-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
44 lines (41 loc) · 1.02 KB
/
.pre-commit-config.yaml
File metadata and controls
44 lines (41 loc) · 1.02 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: no-commit-to-branch # prevent direct commits to the `main` branch
- id: check-yaml
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/google/yamlfmt
# Configuration for yamlfmt is in yamlfmt.yaml
rev: v0.21.0
hooks:
- id: yamlfmt
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.23.1
hooks:
- id: zizmor
- repo: local
hooks:
- id: format
name: Format
entry: make
args: [format]
language: system
types: [python]
pass_filenames: false
- id: lint
name: Lint
entry: make
args: [lint]
types: [python]
language: system
pass_filenames: false
- id: Typecheck
name: Typecheck
entry: make
args: [typecheck]
types: [python]
language: system
pass_filenames: false