From 55ac80cc1650eac68def3dd2a812c3b7dc19ae71 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Mon, 1 Nov 2021 12:01:57 +1100 Subject: [PATCH] ugh pylint --- bookwyrm/views/books/edit_book.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/views/books/edit_book.py b/bookwyrm/views/books/edit_book.py index 80a66d73b..a505c175f 100644 --- a/bookwyrm/views/books/edit_book.py +++ b/bookwyrm/views/books/edit_book.py @@ -33,7 +33,7 @@ class EditBook(View): data = {"book": book, "form": forms.EditionForm(instance=book)} return TemplateResponse(request, "book/edit/edit_book.html", data) - # pylint: disable=too-many-variables + # pylint: disable=too-many-locals def post(self, request, book_id=None): """edit a book cool""" # returns None if no match is found