From 6d894d71ec2d98a783c8769a22b9fd5278b17b2e Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Mon, 6 Dec 2021 16:59:51 +1100 Subject: [PATCH] stop pylint contradicting itself --- bookwyrm/views/helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/views/helpers.py b/bookwyrm/views/helpers.py index cee95fd3..052b661a 100644 --- a/bookwyrm/views/helpers.py +++ b/bookwyrm/views/helpers.py @@ -15,9 +15,11 @@ from bookwyrm.status import create_generated_note from bookwyrm.utils import regex +#pylint: disable=unnecessary-pass class WebFingerError(Exception): """empty error class for problems finding user information with webfinger""" + pass def get_user_from_username(viewer, username): """helper function to resolve a localname or a username to a user"""