mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
python: Convert last type comments to annotations.
We had skipped these in #14693 so we could keep generating a friendly error on Python 3.5, but we gave that up in #19801. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
548dd5a402
commit
2762121162
@@ -8,7 +8,7 @@ from typing import Iterable, List
|
||||
|
||||
|
||||
def expand_reqs_helper(fpath: str) -> List[str]:
|
||||
result = [] # type: List[str]
|
||||
result: List[str] = []
|
||||
|
||||
with open(fpath) as f:
|
||||
for line in f:
|
||||
|
||||
Reference in New Issue
Block a user