-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (26 loc) · 748 Bytes
/
Makefile
File metadata and controls
37 lines (26 loc) · 748 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
.PHONY: help
.PHONY: default
default: install
install:
uv sync --all-extras --all-groups --frozen
uvx pre-commit install
update:
uv lock
uvx pre-commit autoupdate
$(MAKE) install
test: install
uv run pytest
coverage: install
uv run pytest --cov=ml_orchestrator --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
cov: install
uv run pytest --cov=ml_orchestrator --cov-report=term-missing
check: install
uvx pre-commit run --all-files
mypy: install
uv run mypy ml_orchestrator --config-file pyproject.toml
doctest: install-docs doc
install-docs:
uv sync --group docs --frozen --no-group dev
doc:
uv run --no-sync sphinx-build -M html docs/source docs/build/ -W --keep-going --fresh-env
check-all: check test mypy doc