summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorZhiQiang Fan <zhiqiang.fan@huawei.com>2014-01-23 09:21:12 +0800
committerZhiQiang Fan <aji.zqfan@gmail.com>2014-01-31 21:33:55 +0800
commit8567c289e2d7c32e48250cc09f555d6e6b6ccf59 (patch)
tree82e4168a41366322b778f9bd98894e3e3bd1dcf9 /tox.ini
parent884d5403bc647b13d17dbfc7f791ce451a3b4e6b (diff)
downloadpython-heatclient-8567c289e2d7c32e48250cc09f555d6e6b6ccf59.tar.gz
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/
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 492d901..98100ae 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