Skip to content

Commit 3c7b8e1

Browse files
committed
Ignore issue raised by flake8-bugbear
1 parent 4996655 commit 3c7b8e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drf_excel/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ def finalize_response(self, request, response, *args, **kwargs):
2727
and response.accepted_renderer.format == "xlsx"
2828
):
2929
response["content-disposition"] = (
30-
f"attachment; filename={escape_uri_path(self.get_filename(request=request, *args, **kwargs))}"
30+
f"attachment; filename={escape_uri_path(self.get_filename(request=request, *args, **kwargs))}" # noqa: B026
3131
)
3232
return response

0 commit comments

Comments
 (0)