backup-tool/tox.ini

16 lines
264 B
INI
Raw Normal View History

2021-04-24 19:38:03 +02:00
[tox]
2021-04-28 16:09:44 +02:00
envlist = py36,py37,pypy37,py38,py39,lint
2021-04-24 19:38:03 +02:00
[testenv]
2021-04-24 23:17:03 +02:00
deps = .[test]
2021-04-24 19:38:03 +02:00
commands =
pytest
2021-04-24 23:17:03 +02:00
pytest --cov=app --cov-fail-under=90 tests/
2021-04-24 22:22:12 +02:00
[testenv:lint]
basepython = python3.6
2021-04-24 23:09:13 +02:00
deps = .[lint]
2021-04-24 23:17:03 +02:00
commands =
black --check setup.py app
flake8 setup.py app