aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/views.py
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2019-09-24 17:32:03 -0400
committerGravatar GitHub <[email protected]>2019-09-24 17:32:03 -0400
commit37d989d0b74a1d0f8b0ee60749c79ea4a55ffba5 (patch)
treef1541776183c3d3850693ad20d81fb530bed3a1d /pydis_site/apps/api/views.py
parentSwap out old discord shield for new one. (diff)
parentMerge branch 'master' into update-linting (diff)
Merge pull request #251 from python-discord/update-linting
Update linting dependencies & relint
Diffstat (limited to 'pydis_site/apps/api/views.py')
-rw-r--r--pydis_site/apps/api/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/views.py b/pydis_site/apps/api/views.py
index e79de5e1..32583665 100644
--- a/pydis_site/apps/api/views.py
+++ b/pydis_site/apps/api/views.py
@@ -56,7 +56,7 @@ class RulesView(APIView):
permission_classes = ()
@staticmethod
- def _format_link(description, link, target):
+ def _format_link(description: str, link: str, target: str) -> str:
"""
Build the markup for rendering the link.