lint

This commit is contained in:
Joachim 2021-06-06 21:13:16 +02:00
parent 1f2c296cfd
commit 7ed2ed116a

View file

@ -88,56 +88,20 @@ class Book(BookDataModel):
objects = InheritanceManager() objects = InheritanceManager()
cover_bw_book_xsmall_webp = ImageSpecField( cover_bw_book_xsmall_webp = ImageSpecField(source="cover", id="bw:book:xsmall:webp")
source='cover', cover_bw_book_xsmall_jpg = ImageSpecField(source="cover", id="bw:book:xsmall:jpg")
id='bw:book:xsmall:webp' cover_bw_book_small_webp = ImageSpecField(source="cover", id="bw:book:small:webp")
) cover_bw_book_small_jpg = ImageSpecField(source="cover", id="bw:book:small:jpg")
cover_bw_book_xsmall_jpg = ImageSpecField( cover_bw_book_medium_webp = ImageSpecField(source="cover", id="bw:book:medium:webp")
source='cover', cover_bw_book_medium_jpg = ImageSpecField(source="cover", id="bw:book:medium:jpg")
id='bw:book:xsmall:jpg' cover_bw_book_large_webp = ImageSpecField(source="cover", id="bw:book:large:webp")
) cover_bw_book_large_jpg = ImageSpecField(source="cover", id="bw:book:large:jpg")
cover_bw_book_small_webp = ImageSpecField( cover_bw_book_xlarge_webp = ImageSpecField(source="cover", id="bw:book:xlarge:webp")
source='cover', cover_bw_book_xlarge_jpg = ImageSpecField(source="cover", id="bw:book:xlarge:jpg")
id='bw:book:small:webp'
)
cover_bw_book_small_jpg = ImageSpecField(
source='cover',
id='bw:book:small:jpg'
)
cover_bw_book_medium_webp = ImageSpecField(
source='cover',
id='bw:book:medium:webp'
)
cover_bw_book_medium_jpg = ImageSpecField(
source='cover',
id='bw:book:medium:jpg'
)
cover_bw_book_large_webp = ImageSpecField(
source='cover',
id='bw:book:large:webp'
)
cover_bw_book_large_jpg = ImageSpecField(
source='cover',
id='bw:book:large:jpg'
)
cover_bw_book_xlarge_webp = ImageSpecField(
source='cover',
id='bw:book:xlarge:webp'
)
cover_bw_book_xlarge_jpg = ImageSpecField(
source='cover',
id='bw:book:xlarge:jpg'
)
cover_bw_book_xxlarge_webp = ImageSpecField( cover_bw_book_xxlarge_webp = ImageSpecField(
source='cover', source="cover", id="bw:book:xxlarge:webp"
id='bw:book:xxlarge:webp'
) )
cover_bw_book_xxlarge_jpg = ImageSpecField( cover_bw_book_xxlarge_jpg = ImageSpecField(source="cover", id="bw:book:xxlarge:jpg")
source='cover',
id='bw:book:xxlarge:jpg'
)
@property @property
def author_text(self): def author_text(self):