Browse Source

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 <tin@irrational.io>
Tin Lam 2 months ago
parent
commit
e6af6ae87e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tox.ini

+ 1
- 1
tox.ini View File

@@ -80,7 +80,7 @@ commands = {posargs}
80 80
 filename = *.py
81 81
 show-source = true
82 82
 # [H106] Don't put vim configuration in source files.
83
-# [H210] Require 'autospec', 'spec', or 'spec_set' in mock.patch/mock.patch.object calls
83
+# [H201] No 'except:' at least use 'except Exception:'
84 84
 # [H904] Delay string interpolations at logging calls.
85 85
 enable-extensions = H106,H201,H904
86 86
 # TODO(lamt) Clean up these docstring violations if possible

Loading…
Cancel
Save