summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJoshua Powers <josh.powers@canonical.com>2017-01-30 11:24:45 -0700
committerScott Moser <smoser@ubuntu.com>2017-02-06 21:33:18 -0600
commit3bcb72c593f13915a81272778809dd8e71e2c7b7 (patch)
tree40c09b2953e04416775431571a731ccb421d4585 /tox.ini
parent5f14a0b1ca3079e4ab43d615840866a4b7d8df6a (diff)
downloadvyos-cloud-init-3bcb72c593f13915a81272778809dd8e71e2c7b7.tar.gz
vyos-cloud-init-3bcb72c593f13915a81272778809dd8e71e2c7b7.zip
Remove style checking during build and add latest style checks to tox
- make check will no longer run the style checks, that way package builds wont fail on a style difference in versions of the style tools in that distro. - created style-check make file target to continue to run pep8 and pyflakes - added tox envs 'tip-pycodestyle' and 'tip-pyflakes' to run latest style checking. These are not enabled by default run of tox. LP: #1652329
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index e79ea6aa..ca5d8b87 100644
--- a/tox.ini
+++ b/tox.ini
@@ -79,3 +79,11 @@ deps =
jsonpatch==1.2
six==1.9.0
-r{toxinidir}/test-requirements.txt
+
+[testenv:tip-pycodestyle]
+commands = {envpython} -m pycodestyle {posargs:cloudinit/ tests/ tools/}
+deps = pycodestyle
+
+[testenv:tip-pyflakes]
+commands = {envpython} -m pyflakes {posargs:cloudinit/ tests/ tools/}
+deps = pyflakes