Development
papertrail is a free open-source project.
Anyone who finds it interesting or useful is welcome to contribute.
Please follow these steps:
- check first Discussions or Issues, someone might have already stumbled on your problem and even proposed a solution!
- if not, please start a new discussion or issue first so we can understand the scope
- make sure your
mainbranch is up to date - branch off with
git switch -c xxx-yyywherexxxis e.g.feature,fix,docsandyyyis an issue reference such asissue-123 - while you edit your code, please run the project tools below
- open your Pull Request
Pre-commit
Before pushing commits, please install the hooks,
Quality Commands
These are the supported quality commands. Please run them before pushing.
In particular, the project uses:
- Formatting and linting: Ruff
- Type checking: mypy
- Tests: pytest
- API docs: mkdocstrings (Google-style docstrings)
- Packaging: Hatch with
srclayout
Documentation Commands
Documentation should be updated together with code changes (except very small changes such as typo-only fixes).