Add typing to empty list variables in github_to_entries

This commit is contained in:
sabaimran 2024-04-03 21:41:36 +05:30
parent d036fdfc26
commit b8087c4c8e

View file

@ -125,8 +125,8 @@ class GithubToEntries(TextToEntries):
return result
# Extract markdown files from the repository
markdown_files = []
org_files = []
markdown_files: List[str] = []
org_files: List[str] = []
if "tree" not in contents:
return markdown_files, org_files