diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-07-31 16:39:38 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-07-31 23:16:39 -0400 |
| commit | 800227cd83e50f06093b5feaac6aa6a9f9daa114 (patch) | |
| tree | 640469d0b7024484c28c08a6e42166f852bf8f4b /tox.ini | |
| parent | 9a7d70a56186df845696b10f32b308857e0957cd (diff) | |
| download | external_python_mako-800227cd83e50f06093b5feaac6aa6a9f9daa114.tar.gz external_python_mako-800227cd83e50f06093b5feaac6aa6a9f9daa114.tar.bz2 external_python_mako-800227cd83e50f06093b5feaac6aa6a9f9daa114.zip | |
remove python setup.py test
Removed the "python setup.py test" feature in favor of a straight run of
"tox". Per Pypa / pytest developers, "setup.py" commands are in general
headed towards deprecation in favor of tox. The tox.ini script has been
updated such that running "tox" with no arguments will perform a single run
of the test suite against the default installed Python interpreter.
.. seealso::
https://github.com/pypa/setuptools/issues/1684
https://github.com/pytest-dev/pytest/issues/5534
Fixes: #303
Change-Id: I345fd46f8911a71c039adf2d51937175142db793
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ [tox] -envlist = py{27,34,35,36,37,38} +envlist = py [testenv] cov_args=--cov=mako --cov-report term --cov-report xml @@ -20,9 +20,8 @@ setenv= commands=py.test {env:COVERAGE:} {posargs} -# thanks to https://julien.danjou.info/the-best-flake8-extensions/ [testenv:pep8] -basepython = python3.7 +basepython = python3 deps= flake8 flake8-import-order |
