[tox] requires = tox-uv>=1.11.1 envlist = lint, format-check, typecheck isolated_build = false skip_missing_interpreters = true [testenv] runner = uv-venv-lock-runner dependency_groups = dev no_default_groups = false skip_install = true commands = python -c "raise SystemExit('Specify an environment, e.g. `tox -e lint`')" [testenv:lint] commands = ruff check . [testenv:format-check] commands = ruff format --check --diff . [testenv:typecheck] commands = pyright --threads 4 app.py main.py