aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2024-07-18 21:27:34 +0200
committerGravatar Johannes Christ <[email protected]>2024-08-02 16:24:40 +0200
commitb59b24a798c0b67ab72fddad064510c634d1c934 (patch)
tree31541537fed2ae8dfdbc08758bf63ee70c21fc1a /pydis_site/apps
parentBump ruff from 0.5.1 to 0.5.2 (diff)
Remove unnecessary S310 noqa
Diffstat (limited to 'pydis_site/apps')
-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 05a2bb02..da0bfe49 100644
--- a/pydis_site/apps/api/views.py
+++ b/pydis_site/apps/api/views.py
@@ -348,7 +348,7 @@ class GitHubWebhookFilterView(APIView):
headers.pop('Content-Length', None)
headers.pop('Content-Type', None)
headers.pop('Host', None)
- request = urllib.request.Request( # noqa: S310
+ request = urllib.request.Request(
f'https://discord.com/api/webhooks/{webhook_id}/{webhook_token}/github?wait=1',
data=payload,
headers={'Content-Type': 'application/json', **headers},