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:
Tim Abbott
2018-12-17 10:52:46 -08:00
parent bce90a3340
commit 35901cc955

View File

@@ -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',