src/cmds/python/README.md
Part of
src/cmds/— see also docs/contributing/TECHNICAL.md
pytest_cmd.rs uses a state machine text parser (no JSON available from pytest)ruff_cmd.rs uses JSON for check mode (--output-format=json) and text filtering for format modepip_cmd.rs auto-detects uv as a pip alternative and routes accordinglyuv_cmd.rs preserves uv run environment semantics: the program's own output passes through on success (bounded, with a tee hint), diagnostics are extracted on failurepython -m pytest and python3 -m mypy are rewritten by the hook registry to rtk pytest / rtk mypyruff_cmd is called by cmds/js/lint_cmd and cmds/system/format_cmd for Python projectsmypy_cmd is called by cmds/js/lint_cmd when detecting Python type checking