1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
[tox] envlist = py{3.7,3.8,3.9,3.10,3.11,3.12} [testenv] basepython = py3.7: python3.7 py3.8: python3.8 py3.9: python3.9 py3.10: python3.10 py3.11: python3.11 py3.12: python3.12 commands = {envpython} --version pytest deps = pytest pytest-cov