From 25a2615d5f16afffbc58e2b85c409c5a485af5fe Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Sat, 28 Oct 2023 06:51:26 +1100 Subject: [PATCH] stop pylint constantly whining --- bookwyrm/importers/bookwyrm_import.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bookwyrm/importers/bookwyrm_import.py b/bookwyrm/importers/bookwyrm_import.py index 38fc6af61..206cd6219 100644 --- a/bookwyrm/importers/bookwyrm_import.py +++ b/bookwyrm/importers/bookwyrm_import.py @@ -1,6 +1,4 @@ """Import data from Bookwyrm export files""" -from typing import Any - from django.http import QueryDict from bookwyrm.models import User @@ -12,9 +10,10 @@ class BookwyrmImporter: This is kind of a combination of an importer and a connector. """ + # pylint: disable=no-self-use def process_import( self, user: User, archive_file: bytes, settings: QueryDict - ) -> BookwyrmImportJob: # pylint: disable=no-self-use + ) -> BookwyrmImportJob: """import user data from a Bookwyrm export file""" required = [k for k in settings if settings.get(k) == "on"]