2018-09-02 12:26:04 +02:00
|
|
|
[tox]
|
2021-05-21 14:04:19 +02:00
|
|
|
envlist = py{37,38,39},qa
|
2018-09-02 12:26:04 +02:00
|
|
|
skip_missing_interpreters = True
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
commands =
|
|
|
|
python setup.py install
|
2022-11-03 10:34:19 +01:00
|
|
|
coverage run -m pytest -v -r wsx
|
2018-09-02 12:26:04 +02:00
|
|
|
coverage report
|
|
|
|
deps =
|
|
|
|
mock
|
|
|
|
pytest>=3.1
|
|
|
|
pytest-cov
|
2021-05-21 14:04:19 +02:00
|
|
|
|
2018-09-02 12:26:04 +02:00
|
|
|
[testenv:qa]
|
|
|
|
commands =
|
|
|
|
flake8
|
|
|
|
flake8 tests/
|
|
|
|
flake8 ../examples/
|
|
|
|
rstcheck README.rst
|
|
|
|
deps =
|
|
|
|
flake8
|
|
|
|
flake8-docstrings
|
|
|
|
flake8-quotes
|
|
|
|
rstcheck
|