7b9815f4bc
Includes config aggregation for multi-source env keys, from_env and from_settings factories with explicit shared-backend injection, gather_bounded, top-level exports, tightened import-linter layers with the gate removed from the Makefile, and the finalized .env.example.
27 lines
634 B
Makefile
27 lines
634 B
Makefile
.PHONY: install test lint format check ci wiki
|
|
|
|
ENV := PolyGateway
|
|
|
|
install:
|
|
conda run -n $(ENV) pip install -e ".[redis,postgres,structured,dev]"
|
|
|
|
test:
|
|
conda run -n $(ENV) pytest tests/ --cov=src/polygateway --cov-report=term-missing
|
|
|
|
lint:
|
|
conda run -n $(ENV) ruff check src/ tests/ --fix
|
|
conda run -n $(ENV) lint-imports
|
|
|
|
format:
|
|
conda run -n $(ENV) ruff format src/ tests/
|
|
|
|
check:
|
|
conda run -n $(ENV) ruff format --check src/ tests/
|
|
conda run -n $(ENV) ruff check src/ tests/
|
|
conda run -n $(ENV) lint-imports
|
|
|
|
ci: check test
|
|
|
|
wiki:
|
|
conda run -n $(ENV) python3 .claude/tools/research_wiki.py rebuild_index research-wiki/
|