name: Python project conventions description: Project conventions for install, lint, test, format, and coverage via Make
Skill: Python project conventions
Goal
Provide a consistent Python dev experience (install/lint/test/format/coverage) via Make targets.
Expected repo files
pyproject.toml(preferred) orrequirements*.txt- Package code under
src/(preferred) or top-level package dir - Tests under
tests/
Make targets (recommended)
make install→python -m pip install -e .make install-dev→ install dev extras + ruff/pytestmake lint→ruff check ...make format→ruff format ...make test→python -m pytestmake coverage→python -m pytest --cov=... --cov-report=term-missingmake check→make lint && make coverage
Quality Bars
- End product should be installable from the final repo URL via
uv toolorpip