diff --git a/tox.ini b/tox.ini index c1aabef7b..1ed579bdf 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ indexserver = deps = :preinstall: cython nose - coverage !=5.0.2 + coverage <5.0 lzss paq nltk @@ -46,11 +46,6 @@ commands = {[testenv:doctest]commands} [testenv:regression] basepython = python3.7 -deps = - nose - deprecation - lzss - paq commands = nosetests {toxinidir}/tests/regression --processes=-1 \ --process-timeout=1200 --process-restartworker -c=0 -v [] @@ -58,17 +53,10 @@ commands = nosetests {toxinidir}/tests/regression --processes=-1 \ basepython = python3.6 deps = :preinstall: cython - {[testenv:regression]deps} commands = {[testenv:regression]commands} [testenv:fuzz] basepython = python3.7 -deps = - nose - nltk - syllabipy - lzss - paq commands = nosetests {toxinidir}/tests/fuzz --processes=-1 \ --process-timeout=1200 --process-restartworker -c=0 -v [] @@ -76,7 +64,6 @@ commands = nosetests {toxinidir}/tests/fuzz --processes=-1 \ basepython = python3.6 deps = :preinstall: cython - {[testenv:fuzz]deps} commands = {[testenv:fuzz]commands} [testenv:black] @@ -88,6 +75,7 @@ commands = black . [testenv:pylint] basepython = python3.7 +depends = black skip_install = true deps = pylint commands = {toxinidir}/helpers/call_and_write_log.py \ @@ -95,18 +83,21 @@ commands = {toxinidir}/helpers/call_and_write_log.py \ [testenv:pydocstyle] basepython = python3.7 +depends = black skip_install = true deps = pydocstyle commands = {toxinidir}/helpers/call_and_write_log.py "pydocstyle --count ." 0 [testenv:pycodestyle] basepython = python3.7 +depends = black skip_install = true deps = pycodestyle commands = {toxinidir}/helpers/call_and_write_log.py "pycodestyle ." 0 [testenv:flake8] basepython = python3.7 +depends = black skip_install = true deps = flake8 @@ -146,6 +137,7 @@ commands = {toxinidir}/helpers/call_and_write_log.py \ [testenv:doc8] basepython = python3.7 +depends = black skip_install = true deps = doc8 commands = {toxinidir}/helpers/call_and_write_log.py "doc8 {toxinidir}" 0 @@ -153,12 +145,12 @@ commands = {toxinidir}/helpers/call_and_write_log.py "doc8 {toxinidir}" 0 [testenv:docs] changedir = docs basepython = python3.7 +depends = black whitelist_externals=make deps = sphinx sphinxcontrib-bibtex sphinx_rtd_theme - numpy commands = sphinx-apidoc -e -M -o . ../abydos sphinx-build -j 8 -b html -d {envtmpdir}/doctrees . _build/html @@ -171,6 +163,7 @@ commands = [testenv:sloccount] changedir = {toxinidir} +depends = black skip_install = true deps = commands = {toxinidir}/helpers/call_and_write_log.py \ @@ -178,12 +171,19 @@ commands = {toxinidir}/helpers/call_and_write_log.py \ [testenv:badges] basepython = python3.7 +depends = + pylint + pydocstyle + flake8 + doc8 + sloccount skip_install = true deps = commands = python {toxinidir}/badge_update.py [testenv:build] basepython = python3.7 +depends = black skip_install = true deps = wheel @@ -195,6 +195,7 @@ commands = [testenv:release] basepython = python3.7 +depends = black skip_install = true deps = {[testenv:build]deps} @@ -204,6 +205,7 @@ commands = [testenv:release-test] basepython = python3.7 +depends = black skip_install = true deps = {[testenv:build]deps}