mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
tools: Revert to Python 2 typing syntax for now.
This reverts commit 66261f1cc
. See parent commit for reason; here,
provision worked but `tools/run-dev.py` would give errors.
We need to figure out a test that reproduces these issues, then make a
version of these changes that keeps that test working, before we
re-merge them.
This commit is contained in:
@@ -14,7 +14,8 @@ import subprocess
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
|
||||
from scripts.lib.zulip_tools import WARNING, FAIL, ENDC
|
||||
|
||||
def find_handlebars(translatable_strings: List[Text]) -> List[Text]:
|
||||
def find_handlebars(translatable_strings):
|
||||
# type: (List[Text]) -> List[Text]
|
||||
errored = []
|
||||
for string in translatable_strings:
|
||||
if '{{' in string:
|
||||
|
Reference in New Issue
Block a user