forked from BlueBrain/NeuroM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
53 lines (46 loc) · 970 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
49
50
51
52
53
[base]
name = neurom
testdeps =
mock
nose
[tox]
envlist =
{py36,py37,py38}
py36-lint
py36-coverage
py36-docs
[testenv]
deps = {[base]testdeps}
extras = plotly
commands = nosetests
[testenv:py36-lint]
deps =
pycodestyle
pydocstyle
astroid
pylint
commands =
pycodestyle --exclude=tests neurom
pydocstyle --match-dir='(?!test).*' {toxinidir}/neurom
pylint --rcfile=pylintrc --extension-pkg-whitelist=numpy --ignore=tests neurom
[testenv:py36-coverage]
deps =
{[base]testdeps}
coverage
commands =
nosetests -v --with-coverage --cover-min-percentage=100 --cover-erase --cover-package neurom
[testenv:py36-docs]
changedir = doc
deps = -r requirements_docs.txt
commands =
# remove autosummary output
rm -rf {toxinidir}/doc/source/_neurom_build
make clean
make html SPHINXOPTS=-W
whitelist_externals =
make
rm
[pycodestyle]
max-line-length=100
[pydocstyle]
convention = google