From 8567c289e2d7c32e48250cc09f555d6e6b6ccf59 Mon Sep 17 00:00:00 2001 From: ZhiQiang Fan Date: Thu, 23 Jan 2014 09:21:12 +0800 Subject: [PATCH] Enable hacking H233 rule H233: Python 3.x incompatible use of print operator Python 3 support is a good feature for OpenStack service client, and we already have a patch for H233 but still ignore it in hacking check, we can enable it to avoid introducing such problem again. Change-Id: I5295ef62eef7a9f6ec7f2b67d6b68dbe2dec7067 ref: https://review.openstack.org/#/c/52841/ --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 492d901a..98100ae8 100644 --- a/tox.ini +++ b/tox.ini @@ -26,6 +26,7 @@ downloadcache = ~/cache/pip [flake8] show-source = True -ignore = H233,H302 +# H302: Do not import objects, only modules +ignore = H302 builtins = _ exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build