forked from fepegar/torchio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (42 loc) · 728 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 =
lint
py36
py37
py38
[testenv]
deps =
-rrequirements-dev.txt
commands =
pytest --cov=. --cov-report xml
coverage run --source=torchio -m pytest
coveralls
codecov
passenv =
CI
TRAVIS
TRAVIS_*
setenv =
PYTHONPATH = {toxinidir}
[testenv:lint]
deps =
-rrequirements-dev.txt
commands =
pre-commit install
pre-commit run --all-files --show-diff-on-failure
[travis]
python =
3.8: py38
3.7: py37
3.6: py36
[pytest]
addopts = --ignore=setup.py
[flake8]
ignore =
E123, ; closing bracket does not match indentation of opening bracket's line
W503 ; line break before binary operator
exclude =
.git,
.tox,
build,
dist