From dc25f8fac0ef4743943b55ba95c6971f07dc9af1 Mon Sep 17 00:00:00 2001 From: xudan Date: Tue, 24 Oct 2017 06:43:46 -0400 Subject: Ignore Tox Error E722 1. After updating tox from 2.5 to 2.9, pep8 failed. 2. https://build.opnfv.org/ci/job/dovetail-verify-master/1018/console 3. The Error is 'E722 do not use bare except'. 4. It needs to change all 'except:' into 'except Exception:'. 5. This won't affect Dovetail, so just ignore this Error. 6. Dovetail next release will consider to fix this error. JIRA: DOVETAIL-537 Change-Id: Ic3c7be4667685fc94025a47c3b17d07a087565da Signed-off-by: xudan --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index cabb805a..5237e95f 100644 --- a/tox.ini +++ b/tox.ini @@ -27,5 +27,5 @@ commands = python setup.py testr --coverage \ [flake8] show-source = True -ignore = E123,E125,H803 +ignore = E123,E125,H803,E722 exclude = .tox,dist,docs,*egg,build,.venv,.git -- cgit 1.2.3-korg