summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2017-03-24 16:50:56 -0400
committergit-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com>2017-03-26 07:41:18 +0000
commit0621e2f9206715e126e31a187c2615d0de71812c (patch)
tree8bf01879947e0fdc24ccbb347bb4283842586b18 /tox.ini
parent79e9540c1ea0a8cf392450f7cb0b833634e9643a (diff)
downloadcloud-init-git-0621e2f9206715e126e31a187c2615d0de71812c.tar.gz
0.7.9-77-g4a2b2f87-0ubuntu1 (patches unapplied)
Imported using git-ubuntu import.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 9 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index f016f206..bf9046af 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27, py3, flake8, xenial
+envlist = py27, py3, flake8, xenial, pylint
recreate = True
[testenv]
@@ -17,6 +17,10 @@ commands = {envpython} -m flake8 {posargs:cloudinit/ tests/ tools/}
setenv =
LC_ALL = en_US.utf-8
+[testenv:pylint]
+deps = pylint==1.6.5
+commands = {envpython} -m pylint {posargs:cloudinit}
+
[testenv:py3]
basepython = python3
commands = {envpython} -m nose {posargs:--with-coverage \
@@ -88,6 +92,10 @@ deps = pycodestyle
commands = {envpython} -m pyflakes {posargs:cloudinit/ tests/ tools/}
deps = pyflakes
+[testenv:tip-pylint]
+commands = {envpython} -m pylint {posargs:cloudinit}
+deps = pylint
+
[testenv:citest]
basepython = python3
commands = {envpython} -m tests.cloud_tests {posargs}