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:
Greg Price
2017-12-13 10:38:15 -08:00
parent 17a6632c43
commit 137c0e65bb
17 changed files with 146 additions and 74 deletions

View File

@@ -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: