Skip to content

Commit b26b109

Browse files
committed
!squash redundant cast
src/django_docutils/template.py:71: error: Redundant cast to "str" [redundant-cast] Found 1 error in 1 file (checked 55 source files)
1 parent 8c92bdb commit b26b109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/django_docutils/template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def render(
6868
context["csrf_token"] = csrf_token_lazy(request)
6969
context = {"source": self.source, "writer_name": "html"}
7070

71-
return mark_safe(t.cast("str", core.publish_parts(**context)["html_body"]))
71+
return mark_safe(core.publish_parts(**context)["html_body"])
7272

7373

7474
register_pygments_directive()

0 commit comments

Comments
 (0)