# tox.ini [tox] envlist = py310, format [testenv] deps = pytest commands = pytest [testenv:format] basepython = python3 deps = black commands = black --check --diff .