No description
  • Python 93.8%
  • Shell 6.2%
Find a file
2026-11-26 12:09:03 -05:00
githooks first commit 2026-11-03 15:53:32 -05:00
tests first commit 2026-11-03 15:53:32 -05:00
.gitattributes first commit 2026-11-03 15:53:32 -05:00
.python-version first commit 2026-11-03 15:53:32 -05:00
exceptions.py first commit 2026-11-03 15:53:32 -05:00
main.py cleanup 2026-11-03 16:05:00 -05:00
publish.yaml python/conway-game-of-life: mirror to GitHub 2026-11-26 12:09:03 -05:00
pyproject.toml first commit 2026-11-03 15:53:32 -05:00
README.md first commit 2026-11-03 15:53:32 -05:00
uv.lock first commit 2026-11-03 15:53:32 -05:00

Development

pyproject.toml template for basic devx

Version management

curl -LsSf https://astral.sh/uv/install.sh | sh  # install uv: https://docs.astral.sh/uv/#getting-started
uv venv --python <version>                       # if you don't have python 3.8+ installed

Linting + formatting

uv run ruff check . --fix --preview
uv run ruff format .

Typechecking

uv run ty check

Testing

  • Configure log level + format in constants.py
uv run pytest -svrP .
uv run pytest -vvs --cov=. --cov-report=html --cov-report=term-missing --cov-branch 2>&1 # with coverage

Automate the running of these by setting up git hooks

git config core.hooksPath .githooks

Usage

source .venv/bin/activate
python3 main.py -h

TODO

Hypothesis, Atheris