From 4323ca0ffb9a1e5d1015fc5eab7634a7060b46f3 Mon Sep 17 00:00:00 2001 From: Louis Date: Sat, 11 Apr 2015 18:48:50 +0200 Subject: [PATCH] [test] Using tox --- Requirements.txt | 2 +- tox.ini | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tox.ini diff --git a/Requirements.txt b/Requirements.txt index 4aa4a442..1673cecb 100644 --- a/Requirements.txt +++ b/Requirements.txt @@ -1,4 +1,4 @@ +ply Jinja2==2.7.3 -argparse==1.2.1 chardet==2.2.1 unidecode>=0.04.16 diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..60871634 --- /dev/null +++ b/tox.ini @@ -0,0 +1,15 @@ +# To perform those tests, install `tox` and run "tox" from this directory. + +[tox] +# Uncomment to use more python versions +#envlist = py26, py27, py32, py34, lint +envlist = py34, lint + +[testenv] +commands = {envpython} setup.py test +deps = + +[testenv:lint] +basepython=python3.4 +deps=pylint +commands=pylint patacrep --rcfile=pylintrc