mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
More uneeded exclusions
This commit is contained in:
parent
ddd580c85c
commit
39f7f616bc
@ -56,8 +56,6 @@ unfixable = ['PIE794', 'ISC001']
|
|||||||
"src/calibre/ebooks/metadata/sources/base.py" = ['RET501']
|
"src/calibre/ebooks/metadata/sources/base.py" = ['RET501']
|
||||||
"src/calibre/ebooks/pdf/reflow.py" = ['E114']
|
"src/calibre/ebooks/pdf/reflow.py" = ['E114']
|
||||||
"src/calibre/gui2/store/stores/*" = ['UP']
|
"src/calibre/gui2/store/stores/*" = ['UP']
|
||||||
"src/calibre/gui2/tts/manager.py" = ['UP037']
|
|
||||||
"src/calibre/utils/copy_files.py" = ['UP037']
|
|
||||||
"src/qt/*.py" = ['I', 'E302']
|
"src/qt/*.py" = ['I', 'E302']
|
||||||
"src/qt/*.pyi" = ['I']
|
"src/qt/*.pyi" = ['I']
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ class TTSManager(QObject):
|
|||||||
|
|
||||||
def __init__(self, parent=None):
|
def __init__(self, parent=None):
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
self._tts: 'TTSBackend' | None = None
|
self._tts: 'TTSBackend' | None = None # noqa: UP037
|
||||||
self.state = QTextToSpeech.State.Ready
|
self.state = QTextToSpeech.State.Ready
|
||||||
self.speaking_simple_text = False
|
self.speaking_simple_text = False
|
||||||
self.tracker = Tracker()
|
self.tracker = Tracker()
|
||||||
|
@ -83,8 +83,8 @@ class WindowsFileCopier:
|
|||||||
self.allow_move = allow_move
|
self.allow_move = allow_move
|
||||||
self.path_to_fileid_map: dict[str, WindowsFileId] = {}
|
self.path_to_fileid_map: dict[str, WindowsFileId] = {}
|
||||||
self.fileid_to_paths_map: dict[WindowsFileId, set[str]] = defaultdict(set)
|
self.fileid_to_paths_map: dict[WindowsFileId, set[str]] = defaultdict(set)
|
||||||
self.path_to_handle_map: dict[str, 'winutil.Handle'] = {}
|
self.path_to_handle_map: dict[str, winutil.Handle] = {}
|
||||||
self.folder_to_handle_map: dict[str, 'winutil.Handle'] = {}
|
self.folder_to_handle_map: dict[str, winutil.Handle] = {}
|
||||||
self.folders: list[str] = []
|
self.folders: list[str] = []
|
||||||
self.copy_map: dict[str, str] = {}
|
self.copy_map: dict[str, str] = {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user