diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2016-12-21 20:00:04 -0500 |
---|---|---|
committer | MatthewLi <matthew.lijun@huawei.com> | 2016-12-21 20:00:58 -0500 |
commit | 8f3a955068dbeb6470ff0ff8e133645509f0dae1 (patch) | |
tree | 9a0759f855af7beed5e16e5fac0635a4a4c0e7c0 | |
parent | 1124a453feb24308f58bda363c229f632cafd82f (diff) |
dovetail tool: flake8 support in tox
JIRA: DOVETAIL-168
Change-Id: I1659e906c8ec810b6e21cc13da4e54a06d5ab80b
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
-rwxr-xr-x | dashboard/backend/dovetail/api/api.py | 1 | ||||
-rw-r--r-- | 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): @@ -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 |