Development¶
This page covers the common local workflow for contributing to Keysmith.
Local Setup¶
Use the provided make target to create a virtual environment and install dependencies from the lockfile.
If the environment already exists:
Common Commands¶
These are the commands you will run most often while iterating on features.
make test- run the test suitemake lint- run Ruff checksmake format- format codemake check- run lint + testsmake docs-serve- serve docs with zensicalmake docs-build- build docs with zensical
Migrations¶
When model contracts change, keep migrations synchronized with the test project.
Pull Request Expectations¶
PRs are expected to preserve behavior and keep docs aligned with code changes.
- keep tests green
- update docs for behavior changes
- keep changelog entries current when shipping user-visible changes
See CONTRIBUTING.md for contributor workflow details.