[tox] requires = tox>=4 env_list = lint, type, 3.1{5,4,3,2,1} [testenv] description = run unit tests deps = pytest>=8 pytest-sugar commands = pytest {posargs:tests} [testenv:lint] description = run linters skip_install = true deps = black commands = black {posargs:.} [testenv:type] description = run type checks deps = mypy commands = mypy {posargs:src tests}