From: Jeremy Stanley Date: Sun, 27 Jan 2019 19:25:19 +0000 (+0000) Subject: Be explicit about test requirements in tox.ini X-Git-Tag: 0.0.1~32 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=3b142cb416a70a899413ba3f6df73297e22f7ffa Be explicit about test requirements in tox.ini Only a couple of the testenvs listed in tox.ini actually made use of the packages claimed as general test dependencies inherited by all testenvs. Move these to their corresponding declarations and drop the old test-requirements.txt file. --- diff --git a/test-requirements.txt b/test-requirements.txt deleted file mode 100644 index 2021c19..0000000 --- a/test-requirements.txt +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright (c) 2016-2017 mudpy authors. Permission to use, copy, -# modify, and distribute this software is granted under terms -# provided in the LICENSE file distributed with this software. - -flake8 -yamllint diff --git a/tox.ini b/tox.ini index aefc426..de62e4e 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,6 @@ usedevelop = True install_command = pip install {opts} {packages} setenv = PYTHONWARNINGS=default::DeprecationWarning -deps = -r{toxinidir}/test-requirements.txt commands = mudpy_selftest mudpy/tests/fixtures/test_daemon.yaml [testenv:demo] @@ -40,12 +39,14 @@ commands = sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html [testenv:flake8] +deps = flake8 commands = flake8 {posargs} [testenv:selftest_config] commands = mudpy_selftest etc/mudpy.yaml [testenv:yamllint] +deps = yamllint commands = yamllint --strict {posargs} . [flake8]