mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	lint-all: Soften check for % comprehensions.
This commit is contained in:
		@@ -347,7 +347,7 @@ def build_custom_checkers(by_lang):
 | 
			
		||||
        # 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
 | 
			
		||||
        # this rule.
 | 
			
		||||
        {'pattern': '% [a-zA-Z0-9_.]*\)?$',
 | 
			
		||||
        {'pattern': ' % [a-zA-Z0-9_.]*\)?$',
 | 
			
		||||
         'exclude_line': set([
 | 
			
		||||
             ('tools/tests/test_template_parser.py', '{% foo'),
 | 
			
		||||
         ]),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user