From eca246fc61e1c3c178734f525ad7af0f3822a51e Mon Sep 17 00:00:00 2001 From: Bart Schuurmans Date: Fri, 31 May 2024 16:59:24 +0200 Subject: [PATCH] Fix lint --- bookwyrm/utils/partial_date.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/utils/partial_date.py b/bookwyrm/utils/partial_date.py index d5b3cabc3..d20fc315e 100644 --- a/bookwyrm/utils/partial_date.py +++ b/bookwyrm/utils/partial_date.py @@ -231,7 +231,7 @@ class PartialDateModel(models.DateTimeField): # type: ignore[type-arg] kwargs.setdefault("form_class", PartialDateFormField) return super().formfield(**kwargs) - # pylint: disable-next=arguments-renamed + # pylint: disable-next=arguments-renamed,line-too-long def contribute_to_class(self, model, our_name_in_model, **kwargs): # type: ignore[no-untyped-def] # Define precision field. descriptor = self.descriptor_class(self)