-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (29 loc) · 689 Bytes
/
Copy pathMakefile
File metadata and controls
44 lines (29 loc) · 689 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
run:
API_VERSION=$$(cat VERSION) uv run python run.py
install:
uv sync
typehint:
uv run mypy src/ tests/
test-local:
uv run pytest tests/ -v --cov
test:
uv run pytest tests/ -v --cov --cov-report=xml:coverage.xml
lint:
uv run ruff check src/ tests/
format:
uv run ruff check src/ tests/ --fix
doc:
uv run mkdocs serve
build-images:
@echo "Implement build images"
deploy-local:
@echo "Implement deploy within local environment"
deploy:
@echo "Implement deploy within k8s cluster"
clean:
rm -rf .*_cache coverage.xml .*coverage site report
checklist: typehint lint test clean
code-quality: typehint lint clean
coverage-publish:
uv run coveralls
.PHONY: checklist