From 52d18039ae407b9c30b4b852c99e187b09854b81 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sun, 27 Jan 2019 19:25:19 +0000 Subject: [PATCH] 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. --- test-requirements.txt | 6 ------ tox.ini | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 test-requirements.txt 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] -- 2.11.0