Skip to content

Development

Randy Syring edited this page Jul 22, 2024 · 4 revisions

Copier Template

Project structure and tooling mostly derives from the copier-py-package, see its documentation for context and additional instructions.

This project can be updated from the upstream repo, see updates

Project Setup

From zero to hero (passing tests that is):

  1. Ensure host dependencies are installed:
  • reqs: for virtualenv python deps
  • mise: for everything else
  1. Run tests:

    nox

  2. Use mise to activate the virtualenv for local dev

  3. Install deps in active virtualenv:

    • reqs bootstrap
    • reqs sync
  4. Configure pre-commit:

    pre-commit install

Versions

Versions are date based. Tools:

  • Current version: hatch version
  • Bump version based on date, tag, push: mise run bump
    • Options: mise run bump -- --help
Clone this wiki locally