30 lines
820 B
Makefile
30 lines
820 B
Makefile
# Copyright 2026 Umbra Tools (umbratools.com)
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
.PHONY: test lint format format-check check web-test web-lint web-check
|
|
|
|
test:
|
|
/home/umbra/.local/bin/uv run python -m unittest discover -s agent_comm/tests -v
|
|
|
|
lint:
|
|
/home/umbra/.local/bin/uv run ruff check .
|
|
|
|
format:
|
|
/home/umbra/.local/bin/uv run ruff format .
|
|
|
|
format-check:
|
|
/home/umbra/.local/bin/uv run ruff format --check .
|
|
|
|
check: test lint format-check
|
|
/home/umbra/.local/bin/uv run python -m compileall -q agent_comm
|
|
|
|
web-test:
|
|
/home/umbra/.local/bin/uv run pytest umbratrans_web/tests
|
|
|
|
web-lint:
|
|
/home/umbra/.local/bin/uv run ruff check umbratrans_web
|
|
|
|
web-check: web-test web-lint
|
|
/home/umbra/.local/bin/uv run ruff format --check umbratrans_web
|
|
/home/umbra/.local/bin/uv run python -m compileall -q umbratrans_web
|