Skip to content

Commit

Permalink
fix pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Wang committed Jul 27, 2023
1 parent 0741628 commit d5a9dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpgen2/entrypoint/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def expand_sys_str(root_dir: Union[str, Path]) -> List[str]:
return matches


def expand_idx(in_list):
def expand_idx(in_list) -> List[int]:
ret = []
for ii in in_list:
if isinstance(ii, int):
Expand Down

0 comments on commit d5a9dcb

Please sign in to comment.