Skip to content

Commit

Permalink
Fix type information
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank committed Dec 19, 2023
1 parent 185da22 commit 794ff9e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .pyre_configuration
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"site_package_search_strategy": "pep561",
"source_directories": [
"src"
]
}
1 change: 1 addition & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 1 addition & 1 deletion src/llm_utils/llm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def word_wrap_except_code_blocks(text: str, width: int = 80) -> str:
return "\n\n".join(["\n".join(b) for b in blocks])


def read_lines(file_path: str, start_line: int, end_line: int) -> tuple[str, int]:
def read_lines(file_path: str, start_line: int, end_line: int) -> tuple[list[str], int]:
"""
Read lines from a file.
Expand Down

0 comments on commit 794ff9e

Please sign in to comment.