docs: apply fleet-template (16-artifact scaffold)
Adds missing standard artifacts: - README.md (if missing) - AGENTS.md (AI agent contract) - PLAN.md (current sprint) - STATUS.md (where we are) - DEVELOPMENT.md (dev workflow) - DEPLOYMENT.md (deploy procedure) - TESTING.md (test strategy) - DECISIONS.md (ADR index + templates) - .github/CODEOWNERS - .github/workflows/ci.yml Preserves all existing artifacts. Refs: RugMunchMedia/fleet-template
This commit is contained in:
commit
47ba268131
310 changed files with 38429 additions and 0 deletions
48
Makefile
Normal file
48
Makefile
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
SHELL := /bin/bash
|
||||
PYTHON := python3
|
||||
|
||||
.PHONY: help install dev lint format typecheck test security check clean commit precommit ci
|
||||
|
||||
help:
|
||||
@echo "Pry Makefile"
|
||||
@echo ""
|
||||
@echo " install Install dependencies"
|
||||
@echo " dev Start dev server"
|
||||
@echo " lint Run ruff check"
|
||||
@echo " format Run ruff format"
|
||||
@echo " typecheck Run mypy"
|
||||
@echo " test Run pytest"
|
||||
@echo " security Run bandit + safety"
|
||||
@echo " check Full audit (lint + typecheck + test)"
|
||||
@echo " clean Remove build artifacts"
|
||||
@echo " precommit Run ruff + mypy + bandit"
|
||||
|
||||
install:
|
||||
pip install -e ".[dev]"
|
||||
|
||||
dev:
|
||||
uvicorn api:app --reload --host 0.0.0.0 --port 8005
|
||||
|
||||
lint:
|
||||
ruff check .
|
||||
|
||||
format:
|
||||
ruff format .
|
||||
|
||||
typecheck:
|
||||
mypy .
|
||||
|
||||
test:
|
||||
pytest tests/ -v --cov=. --cov-report=term-missing
|
||||
|
||||
security:
|
||||
bandit -r . -x tests/,.venv,__pycache__
|
||||
|
||||
check: lint typecheck test
|
||||
|
||||
clean:
|
||||
rm -rf __pycache__ .ruff_cache .mypy_cache .pytest_cache *.egg-info build dist
|
||||
|
||||
precommit: lint format typecheck security
|
||||
|
||||
ci: precommit test
|
||||
Loading…
Add table
Add a link
Reference in a new issue