- Python
- Poetry
- GNU Make
- Trunk.io
- Pyenv (optional)
If you have not yet installed Trunk.io on your machine, run make install_trunk
at the root of this project to install locally (works for Mac & Linux systems).
- First things first, find all instances of
REPO_NAME
in this repo and replace them with the name of your repository. - Run
make init
to move the workflows folder under the .github folder as initialise Trunk.
Read trunk.md.
To bootstrap the repo using Pyenv, run make setup_with_pyenv
.
Run trunk actions enable configure-pyright
to configure Pyright to work with
your new repository.
If you prefer to use Pyenv, you'll need to add a 'venv' key with the value of
REPO_NAME
to your pyproject.toml file, under the Pyright
section. If this is omitted, Trunk.io will assume you are using Poetry virtual
environments instead.
[tool.pyright]
venv = "REPO_NAME"