From be305e596ff10a82924056ab375f1a2862fc7aba Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 7 Jul 2024 19:50:44 +0530 Subject: [PATCH] pep8 --- recipes/ancient_egypt.recipe | 1 + recipes/military_history.recipe | 1 + recipes/world_archeology.recipe | 1 + src/calibre/devices/kobo/kobotouch_config.py | 6 ++---- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes/ancient_egypt.recipe b/recipes/ancient_egypt.recipe index defbda1b45..fdede7664d 100644 --- a/recipes/ancient_egypt.recipe +++ b/recipes/ancient_egypt.recipe @@ -4,6 +4,7 @@ https://ancientegyptmagazine.com from calibre import browser from calibre.web.feeds.news import BasicNewsRecipe + class ancientegypt(BasicNewsRecipe): title = 'The Past: Ancient Egypt Magazine' language = 'en' diff --git a/recipes/military_history.recipe b/recipes/military_history.recipe index 1de04fb46c..ae35606799 100644 --- a/recipes/military_history.recipe +++ b/recipes/military_history.recipe @@ -4,6 +4,7 @@ https://www.military-history.org/ from calibre import browser from calibre.web.feeds.news import BasicNewsRecipe + class milthist(BasicNewsRecipe): title = 'The Past: Military History Matters' language = 'en' diff --git a/recipes/world_archeology.recipe b/recipes/world_archeology.recipe index fe74c87357..103f159eb5 100644 --- a/recipes/world_archeology.recipe +++ b/recipes/world_archeology.recipe @@ -4,6 +4,7 @@ https://www.world-archaeology.com from calibre import browser from calibre.web.feeds.news import BasicNewsRecipe + class worldarch(BasicNewsRecipe): title = 'The Past: Current World Archaeology' language = 'en' diff --git a/src/calibre/devices/kobo/kobotouch_config.py b/src/calibre/devices/kobo/kobotouch_config.py index a639ebb98c..24da5c0afa 100644 --- a/src/calibre/devices/kobo/kobotouch_config.py +++ b/src/calibre/devices/kobo/kobotouch_config.py @@ -6,12 +6,10 @@ __docformat__ = 'restructuredtext en' import textwrap -from qt.core import (QCheckBox, QDialog, QDialogButtonBox, QGridLayout, QHBoxLayout, - QLabel, QLineEdit, QPushButton, QVBoxLayout, QWidget) +from qt.core import QCheckBox, QDialog, QDialogButtonBox, QGridLayout, QHBoxLayout, QLabel, QLineEdit, QPushButton, QVBoxLayout, QWidget from calibre.gui2 import error_dialog -from calibre.gui2.device_drivers.tabbed_device_config import (DeviceConfigTab, - DeviceOptionsGroupBox, TabbedDeviceConfig) +from calibre.gui2.device_drivers.tabbed_device_config import DeviceConfigTab, DeviceOptionsGroupBox, TabbedDeviceConfig from calibre.gui2.dialogs.template_dialog import TemplateDialog from calibre.gui2.dialogs.template_line_editor import TemplateLineEditor from calibre.gui2.widgets2 import ColorButton