forked from marcelm/cutadapt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
48 lines (41 loc) · 843 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
[tox]
envlist = flake8,py35,py36,py37,py38,docs
requires = Cython>=0.29.13
[testenv]
deps =
coverage
pytest
pytest-timeout
pytest-mock
commands =
coverage run --concurrency=multiprocessing -m pytest --doctest-modules --pyargs cutadapt tests
coverage combine
coverage report
[testenv:docs]
basepython = python3.6
changedir = doc
deps =
sphinx
sphinx_issues
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:flake8]
basepython = python3.6
deps = flake8
commands = flake8 src/ tests/
[travis]
python =
3.6: py36, docs
[coverage:run]
parallel = True
include =
*/site-packages/cutadapt/*
tests/*
[coverage:paths]
source =
src/
*/site-packages/
[flake8]
max-line-length = 120
max-complexity = 23
select = E,F,W,C90,W504
extend_ignore = E128,E131,W503