-
Notifications
You must be signed in to change notification settings - Fork 24
/
tox.ini
47 lines (39 loc) · 1.15 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
[tox]
envlist = lint,py39,wdl,coverage-report
isolated_build = True
skipsdist = True
[testenv]
commands = python -m pytest --ignore=tests/functional/ --ignore=tests/integration --ignore=tests/unit --noconftest {posargs}
deps =
pytest
-rrequirements-scripts.txt
[testenv:wdl]
basepython = python3.9
commands = python -m pytest --ignore=tests/python --symlink {posargs}
deps =
caper==1.6.3
pysam==0.19.1
pytest-workflow==1.5.0
pytest==6.2.2
[testenv:lint]
basepython = python3.9
skip_install = true
deps = pre-commit
commands = pre-commit run --all-files
[testenv:coverage-report]
basepython = python3.9
commands = pytest --cov-report term-missing --cov=hic-pipeline
[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__.: