| 1 | [tox] |
| 2 | envlist = py39, py310, flake8 |
| 3 | |
| 4 | [testenv:flake8] |
| 5 | basepython = python |
| 6 | deps = flake8 |
| 7 | commands = flake8 blebox_uniapi tests |
| 8 | |
| 9 | [flake8] |
| 10 | ignore = E501,E203,W503,E731 |
| 11 | |
| 12 | [testenv] |
| 13 | setenv = |
| 14 | PYTHONPATH = {toxinidir} |
| 15 | deps = |
| 16 | -r{toxinidir}/requirements_dev.txt |
| 17 | ; If you want to make tox run the tests with the same versions, create a |
| 18 | ; requirements.txt with the pinned versions and uncomment the following line: |
| 19 | ; -r{toxinidir}/requirements.txt |
| 20 | commands = |
| 21 | pip install -U pip |
| 22 | pytest --basetemp={envtmpdir} |