-
Notifications
You must be signed in to change notification settings - Fork 14
/
tox.ini
57 lines (47 loc) · 1.34 KB
/
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
52
53
54
55
56
57
[tox]
envlist = lint,py37,coverage-report
isolated_build = True
skipsdist = True
[base]
deps =
attrs
pytest
pytest-mock
-rrequirements.txt
[testenv]
deps = {[base]deps}
commands = python -m pytest --ignore=tests/functional/ --ignore=tests/integration --ignore=tests/unit --noconftest {posargs}
[testenv:wdl]
basepython = python3.7
commands = python -m pytest --ignore=tests/python --symlink {posargs}
deps =
caper==0.8.2.1
pytest
pytest-workflow>=1.3.0
[testenv:lint]
basepython = python3.7
skip_install = true
deps = pre-commit
commands = pre-commit run --all-files
[testenv:coverage-report]
commands = pytest --cov-report term-missing --ignore=tests/functional/ --ignore=tests/integration --ignore=tests/unit --noconftest --cov=wgbs_pipeline
deps =
pytest-cov
{[base]deps}
[flake8]
max_line_length = 88
ignore = E501,W503
[coverage:report]
# Adapted from https://coverage.readthedocs.io/en/latest/config.html#syntax
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.:
[pytest]
markers =
filesystem: mark tests using the filesystem.