python-scripts/getentityname/tox.ini
raw| 1 | [tox] |
| 2 | envlist = |
| 3 | flake8 |
| 4 | py{36,37,38,39} |
| 5 | |
| 6 | [testenv] |
| 7 | commands = pytest {posargs:} |
| 8 | description = Run test suite for {basepython} |
| 9 | deps = |
| 10 | pytest |
| 11 | pytest-cov |
| 12 | usedevelop = True |
| 13 | setenv = |
| 14 | PIP_DISABLE_PIP_VERSION_CHECK = 1 |
| 15 | |
| 16 | [testenv:flake8] |
| 17 | basepython = python3 |
| 18 | description = Check code style |
| 19 | deps = flake8 |
| 20 | commands = flake8 {posargs:bin} |