[tox] envlist = py312, format, lint, type, test skipsdist = True [testenv] deps = hatchling -rrequirements-dev.lock [testenv:format] description = Run ruff to format the code skip_install = true deps = ruff commands = ruff format [testenv:lint] description = Run ruff to lint the code skip_install = true deps = ruff commands = ruff check --fix [testenv:type] description = Run mypy to check type annotations commands = mypy . [testenv:test] description = Run pytest to execute the tests commands = pytest