gitflow-cli 2.0.0

跨平台 Git 工程化工作流编排框架:统一封装 GitHub / GitLab / GitCode 三大平台,配合 AI Agent Skills,覆盖从需求到发布的完整工程循环。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Python Pre-commit Checks

**Shared language profile:** `gf-quality/references/profiles/python.md`. Read it for tools, version sources, and scan exclusions.


## Check Commands

| Check | Command | Fix Command |
|-------|---------|-------------|
| format | `ruff format --check .` or `black --check .` | `ruff format .` or `black .` |
| lint | `ruff check .` or `pylint src/` | `ruff check --fix .` |
| test | `python -m pytest --tb=short` | — |

## Notes

- Prefer `ruff` (covers format + lint). Fall back to `black` + `pylint` if not configured.
- Fix commands require user confirmation before execution
- Use project venv if available; never install into system Python