-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (26 loc) · 702 Bytes
/
Copy pathMakefile
File metadata and controls
38 lines (26 loc) · 702 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
.PHONY: install format lint type unit smoke integration test audit check migrate run
install:
python -m pip install -e '.[dev]'
format:
python -m ruff format .
python -m ruff check --fix .
lint:
python -m ruff format --check .
python -m ruff check .
type:
python -m mypy src examples
unit:
python -m pytest tests/unit --cov=agent_control_plane --cov-report=term-missing
smoke:
python -m pytest tests/smoke -m smoke
integration:
python -m pytest tests/integration -m integration
test:
python -m pytest --cov=agent_control_plane --cov-report=term-missing
audit:
python -m pip_audit
check: lint type test
migrate:
python -m alembic upgrade head
run:
python -m agent_control_plane