fix(ci): ignore `afterall` in codespell

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2757>
This commit is contained in:
wvffle 2024-02-20 18:42:27 +00:00
parent 83120cced2
commit 2b1228e620
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@ nd
readby
serie
upto
afterall
# Names
nin

View File

@ -288,7 +288,9 @@ class TrackSerializer(OptionalDescriptionMixin, serializers.Serializer):
def get_uploads(self, obj):
uploads = getattr(obj, "playable_uploads", [])
# we put local uploads first
uploads = [TrackUploadSerializer(u).data for u in sort_uploads_for_listen(uploads)]
uploads = [
TrackUploadSerializer(u).data for u in sort_uploads_for_listen(uploads)
]
uploads = sorted(uploads, key=lambda u: u["is_local"], reverse=True)
return list(uploads)