From a41306171aa864fd3e6829ac22983a323c1f6b97 Mon Sep 17 00:00:00 2001 From: Andreas Strikos Date: Mon, 14 Dec 2015 15:52:33 +0100 Subject: [PATCH] add py3 proper syntax checking --- tox.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index fdabad7..68a5ed2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py27-pyflakes, py27-pep8, py27-coverage, py27, py34 +envlist=py27-pyflakes, py27-pep8, py27-coverage, py27, py34, py34-syntax [testenv] commands=python setup.py test [] @@ -21,3 +21,9 @@ commands= coverage run --source=ripe setup.py test coverage report -m deps=coverage + +[testenv:py34-syntax] +whitelist_externals=bash +commands=bash -c "find ripe/ tests/ -name "*.py" | xargs python -m py_compile" +basepython=python3.4 +deps=