diff options
author | Virgil Dupras <hsoft@hardcoded.net> | 2018-08-14 09:41:21 -0400 |
---|---|---|
committer | Virgil Dupras <hsoft@hardcoded.net> | 2018-08-14 09:41:21 -0400 |
commit | fdd23db536034e4e13fe2121ff155d9151744b45 (patch) | |
tree | 396a30092d938967ff3c4317793523ec34e15cd2 | |
parent | Fix broken test suite (diff) | |
download | gentoolkit-fdd23db5.tar.gz gentoolkit-fdd23db5.tar.bz2 gentoolkit-fdd23db5.zip |
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.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tox.ini | 15 |
2 files changed, 16 insertions, 0 deletions
@@ -2,3 +2,4 @@ build __pycache__ *.py[c,o] dist +/.tox @@ -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 |