-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (30 loc) · 729 Bytes
/
Copy pathMakefile
File metadata and controls
38 lines (30 loc) · 729 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
MUTMUT_MAX_CHILDREN ?= 8
.PHONY: \
build-html \
format \
lint \
mutation-test-renderer \
post-ai-change \
perf-test \
test
build-html:
uv run --extra dev python demo/main.py
format:
uv run --extra dev ruff check . --fix
uv run --extra dev ruff format .
lint:
uv run --extra dev ruff check .
uv run --extra dev ruff format --check .
uv run --extra dev ty check ./src/fstache
mutation-test-renderer:
rm -rf mutants/
uv run --extra dev mutmut run --max-children $(MUTMUT_MAX_CHILDREN)
uv run --extra dev mutmut results
post-ai-change: format
post-ai-change: lint
post-ai-change: test
post-ai-change: build-html
perf-test:
uv run --extra dev python tests/perf_test.py
test:
uv run --extra dev pytest tests/