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.tomlto a specific version - Update the
tool.poetrysection of inpyproject.tomlto be relevant to your project - Run
make lockto lock poetry dependencies and export to arequirements.txtfile - Rename
_.github/to.githubso 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 lintwill run the pre-commit linting against all files in the repositorymake lockwil relock project dependencies and update therequirements.txtfile with production dependencies