forked from BlueBrain/NeuroM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (42 loc) · 937 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
[base]
name = neurom
testdeps =
mock
nose
[tox]
envlist =
lint
py27
py36
coverage
[testenv]
deps = {[base]testdeps}
extras = plotly
commands = nosetests
[testenv:lint]
basepython = python3
deps =
pycodestyle
# need to pin b/c https://github.com/PyCQA/astroid/issues/650
# https://github.com/PyCQA/astroid/issues/651
astroid==2.1.0
pylint==2.2.2
commands =
pycodestyle --exclude=tests neurom
pylint --rcfile=pylintrc --extension-pkg-whitelist=numpy --ignore=tests neurom
[testenv:coverage]
deps =
{[base]testdeps}
coverage
commands =
nosetests -v --with-coverage --cover-min-percentage=100 --cover-erase --cover-package neurom
[testenv:docs]
basepython = python3
changedir = doc
deps = -r requirements_docs.txt
commands = make html
whitelist_externals = make
[pycodestyle]
# W504: line break after binary operator
ignore=W504
max-line-length=100