-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
36 lines (34 loc) · 1.12 KB
/
.pre-commit-config.yaml
File metadata and controls
36 lines (34 loc) · 1.12 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
repos:
# ---------------------------------------------------------------------------
# Lint: Ruff + Black + mypy
# ---------------------------------------------------------------------------
- repo: local
hooks:
- id: lint
name: lint
entry: make lint
language: system
pass_filenames: false
stages: [pre-commit]
# ---------------------------------------------------------------------------
# Run tests: fast feedback on commits
# ---------------------------------------------------------------------------
- repo: local
hooks:
- id: test
name: test
entry: make test
language: system
pass_filenames: false
stages: [pre-commit]
# ---------------------------------------------------------------------------
# Run documentation tests: fast feedback on commits
# ---------------------------------------------------------------------------
- repo: local
hooks:
- id: test-docs
name: test-docs
entry: make test-docs
language: system
pass_filenames: false
stages: [pre-commit]