From 2c9d23b0291157eb1096384ff76e0122747b9bdf Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sat, 11 Jun 2016 22:20:04 +0100 Subject: convert into a proper Python module Sem-Ver: api-break --- tox.ini | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tox.ini (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..b2cf450 --- /dev/null +++ b/tox.ini @@ -0,0 +1,25 @@ +# Tox configuration file +# Read more under https://tox.readthedocs.org/ +# THIS SCRIPT IS SUPPOSED TO BE AN EXAMPLE. MODIFY IT ACCORDING TO YOUR NEEDS! + +[tox] +minversion = 1.8 +envlist = py27,py33,py34,flake8 +skip_missing_interpreters = True + +[testenv] +changedir = tests +commands = + py.test {posargs} +deps = + pytest + -r{toxinidir}/requirements.txt + +[testenv:flake8] +changedir = {toxinidir} +deps = flake8 +commands = flake8 setup.py git_deps tests + +# Options for pytest +[pytest] +addopts = -rsxXf -- cgit