- Purge misplaced RFCs, scratch tokens, and node-proprietary assets - Decouple remote provisioning to ci/scripts/init-node.py - Add targeted composition orchestration in actions/compose.py - Add host-side Xray stale socket cleanup in /dev/shm - Add actions/env.py for shell exports and .env synchronization - Harden UFW, backup retention, host tempfiles, and notify dispatcher - Add pyproject.toml and Makefile with 78 passing unit tests
22 lines
457 B
Makefile
22 lines
457 B
Makefile
.PHONY: test lint fmt check
|
|
|
|
test:
|
|
python3 -m unittest discover -s tests
|
|
|
|
lint:
|
|
@if command -v ruff >/dev/null 2>&1; then \
|
|
ruff check .; \
|
|
else \
|
|
python3 -m py_compile engine/**/*.py actions/**/*.py tests/*.py; \
|
|
echo "ruff not installed in PATH; verified python bytecode compilation."; \
|
|
fi
|
|
|
|
fmt:
|
|
@if command -v ruff >/dev/null 2>&1; then \
|
|
ruff format .; \
|
|
else \
|
|
echo "ruff not installed in PATH; skipping fmt."; \
|
|
fi
|
|
|
|
check: lint test
|