mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 21:29:13 +00:00
Add typing to empty list variables in github_to_entries
This commit is contained in:
@@ -125,8 +125,8 @@ class GithubToEntries(TextToEntries):
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
# Extract markdown files from the repository
|
# Extract markdown files from the repository
|
||||||
markdown_files = []
|
markdown_files: List[str] = []
|
||||||
org_files = []
|
org_files: List[str] = []
|
||||||
if "tree" not in contents:
|
if "tree" not in contents:
|
||||||
return markdown_files, org_files
|
return markdown_files, org_files
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user