From cc1472f0ae4b09ed70fdca2f366af7d870dd16e3 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 5 Apr 2022 18:45:36 -0500 Subject: [PATCH] Use setup.cfg for tox configuration --- setup.cfg | 7 +++++++ tox.ini | 11 ----------- 2 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 tox.ini 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 -- 2.25.1