diff --git a/python/ruff-ecosystem/ruff_ecosystem/format.py b/python/ruff-ecosystem/ruff_ecosystem/format.py index 99b5d34667..20b5945a69 100644 --- a/python/ruff-ecosystem/ruff_ecosystem/format.py +++ b/python/ruff-ecosystem/ruff_ecosystem/format.py @@ -218,8 +218,6 @@ class FormatResult(Result): def patch_set_with_permalinks(patch_set: PatchSet, repo: ClonedRepository) -> str: lines = [] for file_patch in patch_set: - file_link = repo.url_for(file_patch.path) - lines.append(f"{file_patch.path}") for hunk in file_patch: hunk_link = repo.url_for( file_patch.path,