-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
35 lines (29 loc) · 764 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Tox configuration, for details see
#
# http://tox.testrun.org/
#
# $ . .env "--yes" "--develop"
# $ tox
[tox]
envlist = py36, py38, flake8
[testenv]
deps =
-r./task-requirements.txt
-r./requirements.txt
whitelist_externals =
cp
ln
commands_pre =
cp {toxinidir}/setup.py {toxinidir}/tasks.py {envsitepackagesdir}
ln -nfs {toxinidir}/src {toxinidir}/project.d {envsitepackagesdir}
commands =
py.test -c {toxinidir}/setup.cfg --color=yes --cov=rituals \
--cov-config=project.d/coverage.cfg --cov-report=term --cov-report=html --cov-report=xml \
{posargs}
[testenv:flake8]
deps =
flake8==2.3.0
pep8==1.6.2
; for now just informational
commands =
flake8 --count --statistics --exit-zero src/rituals