Skip to content

Commit 4a9d15c

Browse files
committed
fix typing.
1 parent ff644c5 commit 4a9d15c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vectorcode/subcommands/query/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ async def build_query_results(
114114
if meta[0].get("start") is not None and meta[0].get("end") is not None:
115115
path = str(meta[0].get("path"))
116116
with open(path) as fin:
117-
start: int = int(meta[0]["start"])
118-
end: int = int(meta[0]["end"])
117+
start = int(meta[0]["start"]) # type:ignore
118+
end = int(meta[0]["end"]) # type:ignore
119119
full_result["chunk"] = "".join(fin.readlines()[start : end + 1])
120120
full_result["start_line"] = start
121121
full_result["end_line"] = end

0 commit comments

Comments
 (0)