Debian Codegraph @

docs/contributing/contributing_tldr.md

raw
1 # Contributing TL;DR
2
3 Feel free to send a PR to update this file if you find anything useful. 🙇
4
5 For prerequisites and initial setup, see [Contributing to Commitizen](contributing.md#prerequisites-setup).
6
7 ## Command Cheat Sheet
8
9 See [pyproject.toml](https://github.com/commitizen-tools/commitizen/blob/master/pyproject.toml) for the full list of poe tasks.
10
11 ```bash
12 # Format code (ruff check --fix + ruff format)
13 uv run poe format
14
15 # Lint (ruff check + mypy)
16 uv run poe lint
17
18 # Check mypy against a specific Python version
19 uv run mypy --python-version 3.10
20
21 # Run tests in parallel (may take a while)
22 uv run pytest -n auto
23 uv run pytest -n auto <test_suite>
24
25 # Build and preview docs locally
26 uv run poe doc
27
28 # Run everything (format + lint + check-commit + coverage)
29 uv run poe all
30 ```