Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1014 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 1014 Bytes

template.py

A barebones cookiecutter template for Python projects.

  • environment management with direnv
  • automatic linting/formatting with pre-commit and Ruff
  • minimal pyproject.toml configuration
  • support for src-layout and single-module Python distributables, as well as a bare repository

Not all projects require type checking, tests, Sphinx documentation, or default CI pipelines.

Usage

cookiecutter gh:tlgs/template.py

References

  1. direnv -- Python wiki
  2. PyPA -- pyproject.toml specification
  3. PyPA -- Writing your pyproject.toml
  4. setuptools -- Popular project layouts