From e6af6ae87e1d9265a09204eaf955a4965ad7e15f Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Sat, 2 Feb 2019 14:27:11 -0600 Subject: [PATCH] Fix a tox mismatch This is patch set adds in a trivial fix for a mismatch between a comment and the actual hacking rule that is being enabled. Change-Id: I7b1b6146f0cc0222d050e9aabd42a965af63730f Signed-off-by: Tin Lam --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 73fe93be..50e498c1 100644 --- a/tox.ini +++ b/tox.ini @@ -80,7 +80,7 @@ commands = {posargs} filename = *.py show-source = true # [H106] Don't put vim configuration in source files. -# [H210] Require 'autospec', 'spec', or 'spec_set' in mock.patch/mock.patch.object calls +# [H201] No 'except:' at least use 'except Exception:' # [H904] Delay string interpolations at logging calls. enable-extensions = H106,H201,H904 # TODO(lamt) Clean up these docstring violations if possible