A template Python repo with docker, linting & CI.
To copy this simply press the "Use this template" green button near the top of the repo.
- Pin the dependencies in
pyproject.toml
to a specific version - Update the
tool.poetry
section of inpyproject.toml
to be relevant to your project - Run
make lock
to lock poetry dependencies and export to arequirements.txt
file - Rename
_.github/
to.github
so that CI runs
- Update the LICENSE file
- Update the schedule of the dependabot config
- Add a static type checker, such as mypy or Pyright
- Delete
.dockerignore](.dockerignore), [
docker-compose.yml` and the build step of CI if you do not plan to use docker.
Run make
from the project root to both install this project's dependencies & install the pre-commit hooks.
make lint
will run the pre-commit linting against all files in the repositorymake lock
wil relock project dependencies and update therequirements.txt
file with production dependencies