Skip to content
This repository has been archived by the owner on Feb 26, 2025. It is now read-only.

Remove pyXX prefix for lint, docs, and coverage #1038

Merged
merged 3 commits into from
May 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
19 changes: 11 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 =
Expand All @@ -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