python-project-conventions
Project conventions for install, lint, test, format, and coverage via Make
来源信息
- 仓库
- rcarmo/agentbox
- 最近来源活动
- 2026年2月6日 14:21
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 154
- Forks
- 6
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- 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) or `requirements*.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/pytest
- `make lint` → `ruff check ...`
- `make format` → `ruff format ...`
- `make test` → `python -m pytest`
- `make coverage` → `python -m pytest --cov=... --cov-report=term-missing`
- `make check` → `make lint && make coverage`
## Quality Bars
- End product should be installable from the final repo URL via `uv tool` or `pip`
在 GitHub 查看