Skip to content

Commit 9ad40e2

Browse files
committed
mypy fix
1 parent df6efe9 commit 9ad40e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeflash/result/create_pr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def existing_tests_source_for(
3838
test_files = function_to_tests.get(function_qualified_name_with_modules_from_root)
3939
if not test_files:
4040
return ""
41-
output = ""
41+
output: str = ""
4242
rows = []
4343
headers = ["Test File::Test Function", "Original ⏱️", "Optimized ⏱️", "Improvement"]
4444
tests_root = test_cfg.tests_root
@@ -134,7 +134,7 @@ def existing_tests_source_for(
134134
headers=headers, tabular_data=rows, tablefmt="pipe", colglobalalign=None, preserve_whitespace=True
135135
)
136136
output += "\n"
137-
return output # type: ignore[no-any-return]
137+
return output
138138

139139

140140
def check_create_pr(

0 commit comments

Comments
 (0)