diff --git a/bookwyrm/forms.py b/bookwyrm/forms.py index 684fe91f6..564ea91b2 100644 --- a/bookwyrm/forms.py +++ b/bookwyrm/forms.py @@ -238,6 +238,7 @@ class FileLinkForm(CustomForm): if models.LinkDomain.objects.filter(domain=domain).exists(): status = models.LinkDomain.objects.get(domain=domain).status if status == "blocked": + # pylint: disable=line-too-long self.add_error( "url", _( @@ -247,6 +248,7 @@ class FileLinkForm(CustomForm): elif models.FileLink.objects.filter( url=url, book=book, filetype=filetype ).exists(): + # pylint: disable=line-too-long self.add_error( "url", _(