From 8f3a955068dbeb6470ff0ff8e133645509f0dae1 Mon Sep 17 00:00:00 2001 From: MatthewLi Date: Wed, 21 Dec 2016 20:00:04 -0500 Subject: dovetail tool: flake8 support in tox JIRA: DOVETAIL-168 Change-Id: I1659e906c8ec810b6e21cc13da4e54a06d5ab80b Signed-off-by: MatthewLi --- dashboard/backend/dovetail/api/api.py | 1 + tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dashboard/backend/dovetail/api/api.py b/dashboard/backend/dovetail/api/api.py index 0f405f23..4fc97ebd 100755 --- a/dashboard/backend/dovetail/api/api.py +++ b/dashboard/backend/dovetail/api/api.py @@ -171,6 +171,7 @@ def _get_request_args(**kwargs): args[key] = converter(value) return args + ''' @app.teardown_appcontext def shutdown_session(exception=None): diff --git a/tox.ini b/tox.ini index 606bcf62..5ed0ecca 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 1.6 skipsdist = True -envlist = py27 +envlist = py27,pep8 [testenv] basepython=python2 @@ -28,4 +28,4 @@ commands = python setup.py testr --coverage \ [flake8] show-source = True ignore = E123,E125,H803 -exclude = .tox,dist,docs,.egg,build,.venv,.git +exclude = .tox,dist,docs,*egg,build,.venv,.git -- cgit 1.2.3-korg