From: Harmon Date: Tue, 5 Apr 2022 23:45:36 +0000 (-0500) Subject: Use setup.cfg for tox configuration X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cc1472f0ae4b09ed70fdca2f366af7d870dd16e3;p=tweepy.git Use setup.cfg for tox configuration --- diff --git a/setup.cfg b/setup.cfg index bf8982b..97a9b87 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,3 +5,10 @@ source = tweepy omit = */python?.?/* */site-packages/* + +[tox:tox] +envlist = py37, py38, py39, py310 + +[testenv] +commands = python -m unittest discover tests +extras = test diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 7ebebbc..0000000 --- a/tox.ini +++ /dev/null @@ -1,11 +0,0 @@ -# Tox (http://tox.testrun.org/) is a tool for running tests -# in multiple virtualenvs. This configuration file will run the -# test suite on all supported python versions. To use it, "pip install tox" -# and then run "tox" from this directory. - -[tox] -envlist = py37, py38, py39, py310 - -[testenv] -commands = python -m unittest discover tests -extras = test