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

Commit

Permalink
Remove pyXX prefix for lint, docs, and coverage (#1038)
Browse files Browse the repository at this point in the history
  • Loading branch information
eleftherioszisis committed Jun 7, 2022
1 parent eff04e8 commit adf241c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
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

0 comments on commit adf241c

Please sign in to comment.