mirror of https://github.com/zulip/zulip.git
mypy: Use Python 3 type syntax in tools/lister.py.
This commit is contained in:
parent
bbdf9f0306
commit
96fa399ce0
|
@ -39,9 +39,9 @@ def get_ftype(fpath, use_shebang):
|
|||
else:
|
||||
return ''
|
||||
|
||||
def list_files(targets=[], ftypes=[], use_shebang=True, modified_only=False,
|
||||
exclude=[], group_by_ftype=False, extless_only=False):
|
||||
# type: (List[str], List[str], bool, bool, List[str], bool, bool) -> Union[Dict[str, List[str]], List[str]]
|
||||
def list_files(targets: List[str]=[], ftypes: List[str]=[], use_shebang: bool=True,
|
||||
modified_only: bool=False, exclude: List[str]=[], group_by_ftype: bool=False,
|
||||
extless_only: bool=False) -> Union[Dict[str, List[str]], List[str]]:
|
||||
"""
|
||||
List files tracked by git.
|
||||
|
||||
|
|
Loading…
Reference in New Issue