diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-05-03 14:49:44 -0400 |
---|---|---|
committer | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-05-03 15:58:48 -0400 |
commit | b2f7abc5e5a00db1658dd04d8ed96059dff70eb0 (patch) | |
tree | bdc8e15409c45b1b705eba47f88a7afd7a089c05 /tox.ini | |
parent | ffab4f773e77204e96cd6c37cbeb1979ad41e302 (diff) |
Add configuration in prep to enable coala and tox
* Configure the .gitignore in prepration for coala lint checking and tox
driven tests
* Add needed configuration files for driving tox based tests including
coala lint validation checks
Issue: CIMAN-2
Change-Id: I41746a251ca0ca95c681426a2f5cd3474de425e6
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini new file mode 100644 index 000000000..dbeedd8bd --- /dev/null +++ b/tox.ini @@ -0,0 +1,21 @@ +[tox] +minversion = 1.6 +envlist = coala,docs,pep8 +skipsdist = true + +[testenv:coala] +basepython = python3 +deps = + coala + coala-bears +commands = + python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger + coala --non-interactive + +# [testenv:docs] +# deps = sphinx +# commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html + +[testenv:pep8] +deps = flake8 +commands = flake8 scripts/ |