-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
40 lines (34 loc) · 822 Bytes
/
tox.ini
File metadata and controls
40 lines (34 loc) · 822 Bytes
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
36
37
38
39
40
[tox]
envlist = pep8,unit
[testenv]
basepython=python3.5
passenv = CI TRAVIS TRAVIS_*
deps=
-rrequirements-direct.txt
-rrequirements-test.txt
codecov
[testenv:unit]
usedevelop=True
setenv=
PYTHONWARNING=all
commands=
py.test \
--cov=retailstore \
{toxinidir}/tests/unit/{posargs}
coverage xml
- codecov
[testenv:freeze]
whitelist_externals=rm
deps=
-rrequirements-direct.txt
commands=
rm requirements-lock.txt
sh -c "pip freeze --all | grep -v 'retailstore' > requirements-lock.txt"
[testenv:genconfig]
commands = oslo-config-generator --config-file=etc/retailstore/config-generator.conf
[testenv:pep8]
commands = flake8 \
{posargs}
[flake8]
ignore=E302,H306,H304,W503,E251,D100,D101,D102,D103
exclude= venv,.venv,.git,.idea,.tox,*.egg-info,*.eggs,bin,dist,./build/,alembic/