Python formatting

This commit is contained in:
Mouse Reeve 2021-03-30 08:46:22 -07:00
parent a54014f693
commit 1f0c4f86c2
2 changed files with 3 additions and 3 deletions

View file

@ -3,8 +3,8 @@ from bookwyrm.importer import Importer
class GoodreadsImporter(Importer): class GoodreadsImporter(Importer):
""" GoodReads is the default importer, thus Importer follows its structure. """GoodReads is the default importer, thus Importer follows its structure.
For a more complete example of overriding see librarything_import.py """ For a more complete example of overriding see librarything_import.py"""
service = "GoodReads" service = "GoodReads"

View file

@ -31,7 +31,7 @@ class Importer:
self.save_item(job, index, entry) self.save_item(job, index, entry)
return job return job
def save_item(self, job, index, data):# pylint: disable=no-self-use def save_item(self, job, index, data): # pylint: disable=no-self-use
""" creates and saves an import item """ """ creates and saves an import item """
ImportItem(job=job, index=index, data=data).save() ImportItem(job=job, index=index, data=data).save()