Use setup.cfg for tox configuration
authorHarmon <Harmon758@gmail.com>
Tue, 5 Apr 2022 23:45:36 +0000 (18:45 -0500)
committerHarmon <Harmon758@gmail.com>
Tue, 5 Apr 2022 23:45:36 +0000 (18:45 -0500)
setup.cfg
tox.ini [deleted file]

index bf8982be56f5474ce4c1fa3307f53ce83a776b5d..97a9b8731c05f5228de1211b87e8ff321bc03e41 100644 (file)
--- 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 (file)
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