From 3ba6479e79ad5280273aa57aca6c9a6535099de4 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 25 Feb 2021 15:16:16 -0800 Subject: [PATCH] hide linter error on override funtion --- bookwyrm/activitypub/note.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/activitypub/note.py b/bookwyrm/activitypub/note.py index 54c69ce4..45218421 100644 --- a/bookwyrm/activitypub/note.py +++ b/bookwyrm/activitypub/note.py @@ -11,7 +11,7 @@ class Tombstone(ActivityObject): ''' the placeholder for a deleted status ''' type: str = 'Tombstone' - def to_model(self, *args, **kwargs): + def to_model(self, *args, **kwargs):# pylint: disable=unused-argument ''' this should never really get serialized, just searched for ''' model = apps.get_model('bookwyrm.Status') return model.find_existing_by_remote_id(self.id)