aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/info/python_news.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/info/python_news.py b/bot/exts/info/python_news.py
index 651a33d02..0b6e230b4 100644
--- a/bot/exts/info/python_news.py
+++ b/bot/exts/info/python_news.py
@@ -1,7 +1,7 @@
import logging
+import re
import typing as t
from datetime import date, datetime
-import re
import discord
import feedparser
@@ -75,7 +75,7 @@ class PythonNews(Cog):
@staticmethod
def escape_markdown(content: str) -> str:
- """Escape the markdown underlines"""
+ """Escape the markdown underlines."""
# taken from discord.utils.escape_markdown
return re.sub(r'[_\\~|]', lambda match: '\\' + match[0], content, 0, re.MULTILINE)