From eb2a9c79876436daad22213dc0882426df912b27 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Sun, 15 Mar 2015 15:09:25 -0400 Subject: [PATCH] Add tox.ini to integration for flake8 verification Change-Id: If73a6e494cf91d80420fa9a984f306bf50ed83c9 Signed-off-by: Thanh Ha --- test/setup.py | 6 ++++++ test/tox.ini | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 test/setup.py create mode 100644 test/tox.ini diff --git a/test/setup.py b/test/setup.py new file mode 100644 index 0000000000..a58801cc85 --- /dev/null +++ b/test/setup.py @@ -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 index 0000000000..f33ab75db2 --- /dev/null +++ b/test/tox.ini @@ -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 + -- 2.36.6