aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/views.py
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-09-18 15:46:36 -0700
committerGravatar sco1 <[email protected]>2019-09-18 15:46:36 -0700
commit609d6c0a48170e8eeefca2c6f0fd55c014c7ad65 (patch)
treecf46bf8da7478207f008c0af31005e39f0a691e3 /pydis_site/apps/api/views.py
parentUpdate dependencies & relock (diff)
Update linting rules & partially 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.