Add tox.ini to integration for flake8 verification 43/16543/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sun, 15 Mar 2015 19:09:25 +0000 (15:09 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 16 Mar 2015 01:03:50 +0000 (21:03 -0400)
Change-Id: If73a6e494cf91d80420fa9a984f306bf50ed83c9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
test/setup.py [new file with mode: 0644]
test/tox.ini [new file with mode: 0644]

diff --git a/test/setup.py b/test/setup.py
new file mode 100644 (file)
index 0000000..a58801c
--- /dev/null
@@ -0,0 +1,6 @@
+# Workaround for tox missing parameter 'skipsdist=true' which was not
+# introduced until tox 1.6.0
+
+import setuptools
+
+setuptools.setup(name='integration-tests')
diff --git a/test/tox.ini b/test/tox.ini
new file mode 100644 (file)
index 0000000..f33ab75
--- /dev/null
@@ -0,0 +1,11 @@
+[tox]
+envlist = pep8
+#skipsdist = true  # Command only available in tox 1.6.0
+
+[testenv:pep8]
+deps = flake8
+commands = flake8
+
+[flake8]
+max-line-length = 120
+