diff --git a/pylintrc b/pylintrc index f24a4a0b..675468d2 100644 --- a/pylintrc +++ b/pylintrc @@ -56,4 +56,4 @@ ignore-docstrings=yes # (useful for modules/projects where namespaces are manipulated during runtime # and thus existing member attributes cannot be deduced by static analysis. It # supports qualified module names, as well as Unix pattern matching. -ignored-modules=numpy,numpy.*,scipy.stats,scipy.spatial +ignored-modules=numpy,numpy.*,scipy,scipy.spatial,scipy.stats,scipy.spatial.qhull diff --git a/tox.ini b/tox.ini index dd28e9a2..7a38960f 100644 --- a/tox.ini +++ b/tox.ini @@ -7,16 +7,17 @@ testdeps = [tox] envlist = py{37,38,39,310} - py38-lint - py38-coverage - py38-docs + lint + coverage + docs [testenv] deps = {[base]testdeps} extras = plotly commands = pytest {posargs} -[testenv:py38-lint] +[testenv:lint] +basepython=python3.7 deps = pycodestyle pydocstyle @@ -27,7 +28,8 @@ commands = pydocstyle --match-dir='(?!test).*' {toxinidir}/neurom pylint --rcfile=pylintrc --extension-pkg-whitelist=numpy --ignore=tests neurom -[testenv:py38-coverage] +[testenv:coverage] +basepython=python3.8 deps = {[base]testdeps} pytest-cov @@ -38,7 +40,8 @@ commands = --cov-fail-under=100 \ --cov-report=xml -[testenv:py38-docs] +[testenv:docs] +basepython=python3.8 changedir = doc extras = docs commands = @@ -58,7 +61,7 @@ convention = google [gh-actions] python = - 3.7: py37 - 3.8: py38 + 3.7: py37, lint + 3.8: py38, docs, coverage 3.9: py39 3.10: py310