mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
aa9e76aa78
commit
5799e93703
@ -280,6 +280,7 @@ class Float(Int):
|
|||||||
self.editor.setRange(-1000000., float(100000000))
|
self.editor.setRange(-1000000., float(100000000))
|
||||||
self.editor.setDecimals(2)
|
self.editor.setDecimals(2)
|
||||||
|
|
||||||
|
|
||||||
class Rating(Base):
|
class Rating(Base):
|
||||||
|
|
||||||
def setup_ui(self, parent):
|
def setup_ui(self, parent):
|
||||||
@ -1055,6 +1056,7 @@ class BulkInt(BulkBase):
|
|||||||
def set_to_undefined(self):
|
def set_to_undefined(self):
|
||||||
self.main_widget.setValue(-1000000)
|
self.main_widget.setValue(-1000000)
|
||||||
|
|
||||||
|
|
||||||
class BulkFloat(BulkInt):
|
class BulkFloat(BulkInt):
|
||||||
|
|
||||||
def setup_ui(self, parent):
|
def setup_ui(self, parent):
|
||||||
|
@ -12,7 +12,6 @@ from PyQt5.Qt import (
|
|||||||
QSplitter, Qt, QTextBrowser, QTimer, QToolButton, QTreeWidget, QTreeWidgetItem,
|
QSplitter, Qt, QTextBrowser, QTimer, QToolButton, QTreeWidget, QTreeWidgetItem,
|
||||||
QVBoxLayout, QWidget, pyqtSignal
|
QVBoxLayout, QWidget, pyqtSignal
|
||||||
)
|
)
|
||||||
from textwrap import fill
|
|
||||||
|
|
||||||
from calibre import prepare_string_for_xml
|
from calibre import prepare_string_for_xml
|
||||||
from calibre.ebooks.metadata import authors_to_string, fmt_sidx
|
from calibre.ebooks.metadata import authors_to_string, fmt_sidx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user