-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
37 lines (34 loc) · 917 Bytes
/
.pre-commit-config.yaml
File metadata and controls
37 lines (34 loc) · 917 Bytes
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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: local
hooks:
- id: format
name: format
entry: make format-fix
language: system
types: [python]
pass_filenames: false
require_serial: true
- id: lint
name: lint
entry: make lint-fix
language: system
types: [python]
pass_filenames: false
require_serial: true
- repo: local
hooks:
- id: mypy
name: mypy
entry: make typecheck
language: system
types: [python]
pass_filenames: false
require_serial: true
- id: generate-env-example
name: Generate .env.example
entry: uv run python scripts/generate_env_example.py
language: system
files: ^src/dnet/config\.py$
pass_filenames: false