2013-10-05 23:12:31 +02:00
|
|
|
[tox]
|
2023-06-09 21:54:41 +02:00
|
|
|
envlist = py38, py39, py310, flake8
|
2013-10-05 23:12:31 +02:00
|
|
|
|
|
|
|
[testenv]
|
2018-05-06 23:28:46 +02:00
|
|
|
setenv =
|
|
|
|
MOCK_REDIS = 1
|
2013-10-05 23:12:31 +02:00
|
|
|
commands =
|
2018-05-06 21:45:38 +02:00
|
|
|
pip install -r requirements.txt
|
2018-05-06 23:28:46 +02:00
|
|
|
pip install -r dev-requirements.txt
|
2022-05-17 20:54:51 +02:00
|
|
|
pytest --cov=snappass --cov-report=term-missing tests.py
|
2017-04-23 07:36:41 +02:00
|
|
|
|
2017-04-23 19:08:49 +02:00
|
|
|
[testenv:flake8]
|
2017-04-23 07:36:41 +02:00
|
|
|
commands =
|
2022-05-17 20:41:01 +02:00
|
|
|
pip install -r dev-requirements.txt
|
|
|
|
flake8
|