From fdd23db536034e4e13fe2121ff155d9151744b45 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Tue, 14 Aug 2018 09:41:21 -0400 Subject: Add tox.ini The goal is for the `tox` command to be the only command to run to verify the quality of the code before a commit. --- .gitignore | 1 + tox.ini | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index 3b6d6ef..63ee53f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ build __pycache__ *.py[c,o] dist +/.tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..b7bcbdb --- /dev/null +++ b/tox.ini @@ -0,0 +1,15 @@ +[tox] +envlist = py27,py35,py36,py37,pyflakes +skip_missing_interpreters = True + +[testenv] +commands = + python setup.py test +sitepackages = True + +[testenv:pyflakes] +deps = + pyflakes +commands = + pyflakes pym +sitepackages = False -- cgit v1.2.3