lint-all: Soften check for % comprehensions.

This commit is contained in:
Tim Abbott 2017-02-18 16:29:36 -08:00
parent b63a8a7880
commit 1abfdc340a
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ def build_custom_checkers(by_lang):
# This next check could have false positives, but it seems pretty # This next check could have false positives, but it seems pretty
# rare; if we find any, they can be added to the exclude list for # rare; if we find any, they can be added to the exclude list for
# this rule. # this rule.
{'pattern': '% [a-zA-Z0-9_.]*\)?$', {'pattern': ' % [a-zA-Z0-9_.]*\)?$',
'exclude_line': set([ 'exclude_line': set([
('tools/tests/test_template_parser.py', '{% foo'), ('tools/tests/test_template_parser.py', '{% foo'),
]), ]),