From 89501451d92a81f0f9820a514bea8acbf2616259 Mon Sep 17 00:00:00 2001 From: Zanie Date: Wed, 25 Oct 2023 14:36:24 -0500 Subject: [PATCH] Remove file links (only do line links) --- python/ruff-ecosystem/ruff_ecosystem/format.py | 2 -- 1 file changed, 2 deletions(-) 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,