summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2013-05-23 14:33:55 -0500
committerGerrit Code Review <review@openstack.org>2013-05-23 23:48:43 +0000
commitf9b535c84ed22f6831165cb0807029a44a01bddb (patch)
tree8ed4140ea358a24751c7ffeec2ffa24bdaa2f498 /tox.ini
parent67175a667308e534c1d55931322bbd36e1e0a7c5 (diff)
downloadkeystone-f9b535c84ed22f6831165cb0807029a44a01bddb.tar.gz
keystone-f9b535c84ed22f6831165cb0807029a44a01bddb.tar.xz
keystone-f9b535c84ed22f6831165cb0807029a44a01bddb.zip
consistent i18n placeholders (flake8 H701, H702, H703)
- eliminates ambiguously defined keywords in i18n strings which may become incorrectly ordered in a corresponding translation. - ensures formatting operations occur outside of i18n calls - use bare multiline string concatenation instead of 'ab' + \n 'cd' - eliminates an 'empty localization string' (passing a variable to i18n function) Change-Id: I0d78b978cc730e5fb892b80dfacaaf6687cd80be
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 1 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 726b6e42..39d9f767 100644
--- a/tox.ini
+++ b/tox.ini
@@ -40,10 +40,7 @@ show-source = true
# H402: one line docstring needs punctuation
# H403: multi line docstring end on new line
# H404: multi line docstring should start with a summary
-# H701: empty localization string
-# H702: use bare string concatenation instead of +; formatting operation should be outside of localization method call
-# H703: multiple positional placeholders
-ignore = H201,H301,H302,H304,H306,H401,H402,H403,H404,H701,H702,H703
+ignore = H201,H301,H302,H304,H306,H401,H402,H403,H404
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools,vendor