-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
52 lines (46 loc) · 816 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
50
51
[tox]
envlist = py36,flake8,check_dist,type
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 tests/
[testenv:flake8]
skip_install = true
deps=
flake8
commands =
flake8 tarball_to_fastqgz tests/ setup.py
[testenv:check_dist]
skip_install = true
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/*
[testenv:type]
ignore_outcome = True
skip_install = true
deps=
mypy
commands =
python -m mypy tarball_to_fastqgz/