-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (33 loc) · 724 Bytes
/
Makefile
File metadata and controls
45 lines (33 loc) · 724 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
38
39
40
41
42
43
44
45
.PHONY: verify fix lint format type-check install test docs docs-serve
# Verify - check everything without making changes
verify: lint format-check type-check
# Fix - automatically fix what can be fixed
fix:
uv run ruff check --fix .
uv run ruff format .
# Individual targets
lint:
uv run ruff check .
format-check:
uv run ruff format --check .
format:
uv run ruff format .
type-check:
uv run ty check
# Install dependencies
install:
uv sync --all-groups
# Run tests
test:
uv run pytest tests/ -v
# Documentation
docs:
uv run --group docs mkdocs build
docs-serve:
uv run --group docs mkdocs serve
# Secret scanning
secrets:
gitleaks detect --redact 80
# Dependency audit
pysentry:
uv run pysentry-rs