Fix H703 test

Change-Id: I7cfc896381426b751569b7b856c68358a17eee62
This commit is contained in:
Tim Burke
2016-05-19 18:41:11 -07:00
parent 7284cb4dea
commit 1b446f4e56

View File

@@ -125,10 +125,9 @@ def hacking_localization_strings(logical_line, tokens, noqa):
H702: _LW("Bob %s" % foo) H702: _LW("Bob %s" % foo)
H702: _LE("Bob %s" % foo) H702: _LE("Bob %s" % foo)
H702: _LC("Bob %s" % foo) H702: _LC("Bob %s" % foo)
# H703 check is not quite right, disabled by removing colon H702: _("%s %s" % (foo, bar))
H703 _("%s %s" % (foo, bar)) H703: _("%s %s") % (foo, bar)
""" """
# TODO(sdague) actually get these tests working
if noqa: if noqa:
return return
gen = check_i18n() gen = check_i18n()