Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.5 KB

File metadata and controls

29 lines (22 loc) · 1.5 KB

Python template

License

Summary

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.

Changes required after copying

  • Pin the dependencies in pyproject.toml to a specific version
  • Update the [project] section of in pyproject.toml to be relevant to your project
  • Run make lock to lock dependencies
  • Rename _.github/ to .github so that CI runs
  • Update the app_name build argument in the Dockerfile to be the name of your app.

Changes to consider after copying

Contributing

Run make from the project root to both install this project's dependencies & install the pre-commit hooks.

  • This requires both make & uv to be installed.

Other make targets

  • make lint will run the pre-commit linting against all files in the repository
  • make lock will relock project dependencies and install them