Update PR code suggestions and reviewer prompts for clarity and consistency

This commit is contained in:
mrT23
2024-08-20 11:27:35 +03:00
parent df57367426
commit b7eb6be5a0
3 changed files with 45 additions and 38 deletions

View File

@ -191,7 +191,7 @@ def pr_generate_extended_diff(pr_languages: list,
# extend each patch with extra lines of context
extended_patch = extend_patch(original_file_content_str, patch,
patch_extra_lines_before, patch_extra_lines_after)
patch_extra_lines_before, patch_extra_lines_after, file.filename)
if not extended_patch:
get_logger().warning(f"Failed to extend patch for file: {file.filename}")
continue