From 55a91a6655f019293a50748aaa5cb36a6b45dc2f Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Wed, 17 Jun 2015 00:50:41 +0000 Subject: [PATCH] Fix H238 violation and enable check for that rule Change-Id: I04f3d96acfc0be12393cc6cf5f0d3f7006939532 --- git_review/cmd.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/git_review/cmd.py b/git_review/cmd.py index cac99a5..7f94996 100755 --- a/git_review/cmd.py +++ b/git_review/cmd.py @@ -67,7 +67,7 @@ _rewrites = None _rewrites_push = None -class colors: +class colors(object): yellow = '\033[33m' green = '\033[92m' reset = '\033[0m' diff --git a/tox.ini b/tox.ini index 9ae60dc..59bec38 100644 --- a/tox.ini +++ b/tox.ini @@ -27,6 +27,6 @@ commands = python setup.py build_sphinx commands = {posargs} [flake8] -ignore = E125,H202,H238,H405,H904 +ignore = E125,H202,H405,H904 show-source = True exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build