mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	lint: Fix a tooling test failure in last commit.
This is what I get for copy-pasting lint rule blocks.
This commit is contained in:
		@@ -492,8 +492,8 @@ def build_custom_checkers(by_lang):
 | 
			
		||||
             'puppet/zulip/files/nagios_plugins/zulip_app_frontend/check_send_receive_time',
 | 
			
		||||
         ]),
 | 
			
		||||
         'description': 'For scripts run as part of installer, cannot rely on typing existing; use `if False` workaround.',
 | 
			
		||||
         'good_lines': ['subprocess.check_call(["ls"])'],
 | 
			
		||||
         'bad_lines': ['subprocess.check_call(["sudo", "ls"])']},
 | 
			
		||||
         'good_lines': ['    from typing import List'],
 | 
			
		||||
         'bad_lines': ['from typing import List']},
 | 
			
		||||
        {'pattern': 'django.utils.translation',
 | 
			
		||||
         'include_only': set(['test/']),
 | 
			
		||||
         'description': 'Test strings should not be tagged for translation',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user