From 7040d13f76dee5fd383615e32ee5b7241e632cbd Mon Sep 17 00:00:00 2001 From: Ovv Date: Tue, 27 Feb 2018 12:27:21 +0100 Subject: [PATCH] Add back tox --- src/tox.ini | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/tox.ini diff --git a/src/tox.ini b/src/tox.ini new file mode 100644 index 000000000..4ea231f46 --- /dev/null +++ b/src/tox.ini @@ -0,0 +1,22 @@ +# 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] +skipsdist = True +envlist = py34, py35, py36, pycodestyle + +[testenv] +commands = pytest +deps = -r{toxinidir}/../requirements.txt + +[testenv:pycodestyle] +commands=pycodestyle +deps=pycodestyle + +[pycodestyle] +exclude= + .tox, + migrations, + paperless/settings.py