- Base project to setup python apps
-
UV: package/env and config management
-
TOX: test automation/matrix
-
Ruff: linting and formatting
-
Mypy: type checking
-
Logging: structured logging
-
actions for testing
-
pre-commit:
- talisman: secret scanning
- ruff
- mypy
- pytest
some are commented out, add as required
-
setup uv and pre-commit
- install talisman:
bash -c "$(curl -fsSL https://github.com/ghraw/thoughtworks/talisman/main/install.sh)"(for windows download binary fromhttps://github.com/thoughtworks/talisman/releases) - install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh - sync dependencies:
uv sync - install pre-commit:
uv pre-commit install
- install talisman:
-
define start/dev scripts in tasks.py
- run
uv run docs