mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
Fix lint
This commit is contained in:
parent
aa2312e8af
commit
eca246fc61
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ class PartialDateModel(models.DateTimeField): # type: ignore[type-arg]
|
||||||
kwargs.setdefault("form_class", PartialDateFormField)
|
kwargs.setdefault("form_class", PartialDateFormField)
|
||||||
return super().formfield(**kwargs)
|
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]
|
def contribute_to_class(self, model, our_name_in_model, **kwargs): # type: ignore[no-untyped-def]
|
||||||
# Define precision field.
|
# Define precision field.
|
||||||
descriptor = self.descriptor_class(self)
|
descriptor = self.descriptor_class(self)
|
||||||
|
|
Loading…
Reference in a new issue