mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
1beb7013f5
commit
ff8950e529
@ -122,6 +122,7 @@ class TXT2TXTZ(FileTypePlugin):
|
||||
# No images so just import the TXT file.
|
||||
return path_to_ebook
|
||||
|
||||
|
||||
plugins += [HTML2ZIP, PML2PMLZ, TXT2TXTZ, ArchiveExtract,]
|
||||
# }}}
|
||||
|
||||
@ -444,6 +445,7 @@ class ZipMetadataReader(MetadataReaderPlugin):
|
||||
from calibre.ebooks.metadata.zip import get_metadata
|
||||
return get_metadata(stream)
|
||||
|
||||
|
||||
plugins += [x for x in list(locals().values()) if isinstance(x, type) and
|
||||
x.__name__.endswith('MetadataReader')]
|
||||
|
||||
@ -1061,6 +1063,7 @@ class ActionPluginUpdater(InterfaceActionBase):
|
||||
description = _('Get new calibre plugins or update your existing ones')
|
||||
actual_plugin = 'calibre.gui2.actions.plugin_updates:PluginUpdaterAction'
|
||||
|
||||
|
||||
plugins += [ActionAdd, ActionFetchAnnotations, ActionGenerateCatalog,
|
||||
ActionConvert, ActionDelete, ActionEditMetadata, ActionView,
|
||||
ActionFetchNews, ActionSaveToDisk, ActionQuickview, ActionPolish,
|
||||
@ -1342,6 +1345,7 @@ class Misc(PreferencesPlugin):
|
||||
config_widget = 'calibre.gui2.preferences.misc'
|
||||
description = _('Miscellaneous advanced configuration')
|
||||
|
||||
|
||||
plugins += [LookAndFeel, Behavior, Columns, Toolbar, Search, InputOptions,
|
||||
CommonOptions, OutputOptions, Adding, Saving, Sending, Plugboard,
|
||||
Email, Server, Plugins, Tweaks, Misc, TemplateFunctions,
|
||||
@ -1899,6 +1903,7 @@ class XinXiiStore(StoreBase):
|
||||
headquarters = 'DE'
|
||||
formats = ['EPUB', 'PDF']
|
||||
|
||||
|
||||
plugins += [
|
||||
StoreArchiveOrgStore,
|
||||
StoreBubokPublishingStore,
|
||||
@ -2009,4 +2014,3 @@ if __name__ == '__main__':
|
||||
''')])
|
||||
except subprocess.CalledProcessError:
|
||||
raise SystemExit(1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user