diff options
author | hongbo tian <hongbo.tianhongbo@huawei.com> | 2016-12-23 01:03:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-23 01:03:55 +0000 |
commit | f87b8d9136682c9617449bb8595230c074c5d8e3 (patch) | |
tree | f5de74fd0972a6a7277e755f4982b4203157385c | |
parent | bae8d5ce983e8971c38aa4825360396e8d9b4c3f (diff) | |
parent | 8f3a955068dbeb6470ff0ff8e133645509f0dae1 (diff) |
Merge "dovetail tool: flake8 support in tox"
-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 |