| 1 | [tox] |
| 2 | envlist = |
| 3 | py310 |
| 4 | py39 |
| 5 | py38 |
| 6 | py37 |
| 7 | flake8 |
| 8 | |
| 9 | [testenv] |
| 10 | deps = |
| 11 | pytest |
| 12 | commands = |
| 13 | python -m pytest {posargs} |
| 14 | |
| 15 | [testenv:flake8] |
| 16 | basepython = python3.7 |
| 17 | deps = flake8 |
| 18 | commands = |
| 19 | flake8 . --count --show-source --statistics |
| 20 | |
| 21 | [gh-actions] |
| 22 | python = |
| 23 | 3.7: py37 |
| 24 | 3.8: py38 |
| 25 | 3.9: py39 |
| 26 | 3.10: py310 |