[tox] minversion = 3.15 envlist = py27,py3{4,5,6,7,8,9,10,11},pypy,pypy3,py{27,36,311}-flake8 [testenv] commands = {envpython} --version {envpython} -c "import struct; print(struct.calcsize('P') * 8)" {envpython} -m pytest --version passenv = CI DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR deps = -rdevscripts/requirements/requirements_tests.txt [testenv:py{27,34,35,36,37,38,39,310,311,py,py3}] commands = {[testenv]commands} {envpython} -m pytest [testenv:py{27,34,35,36,37,38,39,310,311}-flake8] deps = flake8 pytest < 7.0 commands = {[testenv]commands} flake8 .