mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-04 21:29:12 +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
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user