From ea5bd7fa1fc21b87c07a233c66fbe51d7f3ab9c1 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 11 Aug 2015 19:51:43 +0200 Subject: Move pylint-build-scan.py to scripts directory Move internal helper and its configuration out of the project's root directory into scripts/. Also use re instead of fnmatch to find the upgrade scriptlets. --- tox.ini | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 54ff3b873..85a7f9b00 100644 --- a/tox.ini +++ b/tox.ini @@ -44,16 +44,15 @@ sitepackages = True deps = pylint commands = - pylint \ - {envsitepackagesdir}/pki \ - {envbindir}/pkidestroy \ - {envbindir}/pkispawn \ - {envbindir}/pki-server \ - {envbindir}/pki-server-upgrade \ - {envbindir}/pki-upgrade \ - {envbindir}/pki \ - --rcfile={toxinidir}/dogtag.pylintrc \ - {posargs} + {envpython} {toxinidir}/scripts/pylint-build-scan.py tox + +[testenv:lint3k] +basepython = python2.7 +sitepackages = True +deps = + pylint +commands = + {envpython} {toxinidir}/scripts/pylint-build-scan.py tox -- --py3k [testenv:pep8] basepython = python2.7 -- cgit