Browse Source

Fix H238 violation and enable check for that rule

Change-Id: I04f3d96acfc0be12393cc6cf5f0d3f7006939532
Jeremy Stanley 3 years ago
parent
commit
55a91a6655
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      git_review/cmd.py
  2. 1
    1
      tox.ini

+ 1
- 1
git_review/cmd.py View File

@@ -67,7 +67,7 @@ _rewrites = None
67 67
 _rewrites_push = None
68 68
 
69 69
 
70
-class colors:
70
+class colors(object):
71 71
     yellow = '\033[33m'
72 72
     green = '\033[92m'
73 73
     reset = '\033[0m'

+ 1
- 1
tox.ini View File

@@ -27,6 +27,6 @@ commands = python setup.py build_sphinx
27 27
 commands = {posargs}
28 28
 
29 29
 [flake8]
30
-ignore = E125,H202,H238,H405,H904
30
+ignore = E125,H202,H405,H904
31 31
 show-source = True
32 32
 exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build

Loading…
Cancel
Save