-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
50 lines (43 loc) · 778 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[tox]
envlist = py36,flake8,check_dist
isolated_build = True
[flake8]
ignore = E501,F401,E302,E502,E126,E731,W503,W605,F841,C901
exclude =
.tox,
.git,
.direnv,
__pycache__,
build,
dist,
*.pyc,
*.egg-info,
.eggs
[testenv]
deps =
-rdev-requirements.txt
-rrequirements.txt
commands =
pytest -lvv \
--cov-report=term-missing \
--cov-report=html \
--junitxml=test-reports/results.xml \
--cov=gdc_rnaseq_tools \
tests/
[testenv:flake8]
skipinstall = true
deps=
flake8
commands =
flake8 gdc_rnaseq_tools/ tests/ setup.py
[testenv:check_dist]
deps=
setuptools_scm
wheel
twine
whitelist_externals = rm
commands =
python setup.py -q clean --all
python setup.py -q egg_info
python setup.py -q sdist --formats gztar bdist_wheel
twine check dist/*