Install pre-commit hooks to auto-run linting and formatting:
hatch run pre-commit install
Run linting and formatting manually with Hatch:
hatch run pre-commit run --all-files
Add tests to the tests
dir. Run pytest via the Hatch test
environment scripts:
hatch run test:all
hatch run test:cov
Write new documentation in the docs/pages
directory. Add them to the nav
in docs/mkdocs.yml
. Build and serve mkdocs documentation via the Hatch docs
environment scripts:
hatch run docs:serve
hatch run docs:build
Increment versions with Hatch:
hatch version <patch|minor|major>
Build and publish with Hatch:
hatch clean
hatch build
hatch publish