From b8087c4c8edc6e4a45158916f79a5ee9fcf1f97a Mon Sep 17 00:00:00 2001 From: sabaimran Date: Wed, 3 Apr 2024 21:41:36 +0530 Subject: [PATCH] Add typing to empty list variables in github_to_entries --- src/khoj/processor/content/github/github_to_entries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/khoj/processor/content/github/github_to_entries.py b/src/khoj/processor/content/github/github_to_entries.py index 58161879..802c2e6f 100644 --- a/src/khoj/processor/content/github/github_to_entries.py +++ b/src/khoj/processor/content/github/github_to_entries.py @@ -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