Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 799 Bytes

CONTRIBUTING.md

File metadata and controls

49 lines (33 loc) · 799 Bytes

Setup

Install pre-commit hooks to auto-run linting and formatting:

hatch run pre-commit install

Linting and Formatting

Run linting and formatting manually with Hatch:

hatch run pre-commit run --all-files

Tests

Add tests to the tests dir. Run pytest via the Hatch test environment scripts:

hatch run test:all
hatch run test:cov

Docs

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

Publish

Increment versions with Hatch:

hatch version <patch|minor|major>

Build and publish with Hatch:

hatch clean
hatch build
hatch publish