pypa / hatch

Modern, extensible Python project management
https://hatch.pypa.io/latest/
MIT License
6.1k stars 309 forks source link

docs: fix outdated `hatch run` commands #1658

Closed Orkunnnn closed 3 months ago

Orkunnnn commented 3 months ago

Fixes #1657

Equivalent to the hatch run commands, but hatch run full is implemented. I checked version 1.7.0 of Hatch and find out that hatch run full script runs pytest --cov --cov-report={env:COVERAGE_REPORT:term-missing} --cov-config=pyproject.toml -n auto --reruns 5 --reruns-delay 3 -r aR {args:tests} (https://github.com/pypa/hatch/blob/46a2118ba39c00ca102cf463bdc829301402d05b/hatch.toml#L20C1-L23C69). I didn't figure out what is the equivalent of the hatch run full script. Do you have any idea?