Skip to content

Commit 24b3475

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4ae4bec commit 24b3475

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/update-plugin-list.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ def escape_rst(text: str) -> str:
3030
"""Rudimentary attempt to escape special RST characters to appear as
3131
plain text."""
3232
text = (
33-
text
34-
.replace("*", "\\*")
33+
text.replace("*", "\\*")
3534
.replace("<", "\\<")
3635
.replace(">", "\\>")
3736
.replace("`", "\\`")

0 commit comments

Comments
 (0)