From 1222bcb2f1bd14de9891b4bde1f8591c0a91df10 Mon Sep 17 00:00:00 2001 From: Matti Lamppu Date: Mon, 2 Sep 2024 15:25:07 +0300 Subject: [PATCH] Fix lint errors --- admin_data_views/templatetags/admin_data_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_data_views/templatetags/admin_data_utils.py b/admin_data_views/templatetags/admin_data_utils.py index 0ccbaa7..95ef5e2 100644 --- a/admin_data_views/templatetags/admin_data_utils.py +++ b/admin_data_views/templatetags/admin_data_utils.py @@ -41,7 +41,7 @@ def to_csv(value: list[list[str]]) -> str: for item in row: match = LINK_TEMPLATE.match(item) if match is not None: - item = match.group("value") + item = match.group("value") # noqa: PLW2901 row_string += f"{item}," string += row_string[:-1] + "\n"