init: guarddog-nexus project skeleton

This commit is contained in:
Marker689
2026-05-09 04:32:48 +03:00
commit bdcc82807d
6 changed files with 178 additions and 0 deletions

37
Makefile Normal file
View File

@@ -0,0 +1,37 @@
.PHONY: install dev test lint format typecheck docker-build docker-up docker-down clean
install:
pip install -e .
dev:
pip install -e ".[dev]"
test:
pytest -v
lint:
ruff check guarddog_nexus tests
format:
ruff format guarddog_nexus tests
ruff check --fix guarddog_nexus tests
typecheck:
mypy guarddog_nexus
docker-build:
docker compose build
docker-up:
docker compose up -d
docker-down:
docker compose down -v
docker-logs:
docker compose logs -f
clean:
rm -rf dist build *.egg-info
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
find . -type f -name '*.pyc' -delete