fix: I forgot to run ruff format

This commit is contained in:
Chloe
2025-01-17 19:35:56 -07:00
parent 5854ccccab
commit a51550f809
11 changed files with 11 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ class AddFieldModal(QWidget):
self.setMinimumSize(400, 300)
self.root_layout = QVBoxLayout(self)
self.root_layout.setContentsMargins(6, 6, 6, 6)
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.title_widget = QLabel()
self.title_widget.setObjectName("fieldTitle")

View File

@@ -36,7 +36,7 @@ class DeleteUnlinkedEntriesModal(QWidget):
self.setMinimumSize(500, 400)
self.root_layout = QVBoxLayout(self)
self.root_layout.setContentsMargins(6, 6, 6, 6)
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.desc_widget = QLabel()
self.desc_widget.setObjectName("descriptionLabel")

View File

@@ -47,7 +47,7 @@ class DropImportModal(QWidget):
self.setMinimumSize(500, 400)
self.root_layout = QVBoxLayout(self)
self.root_layout.setContentsMargins(6, 6, 6, 6)
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.desc_widget = QLabel()
self.desc_widget.setObjectName("descriptionLabel")

View File

@@ -41,7 +41,7 @@ class FileExtensionModal(PanelWidget):
self.setMinimumSize(240, 400)
self.root_layout = QVBoxLayout(self)
self.root_layout.setContentsMargins(6, 6, 6, 6)
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
# Create Table Widget --------------------------------------------------
self.table = QTableWidget(len(self.lib.prefs(LibraryPrefs.EXTENSION_LIST)), 1)

View File

@@ -36,7 +36,7 @@ class FixDupeFilesModal(QWidget):
self.setMinimumSize(400, 300)
self.root_layout = QVBoxLayout(self)
self.root_layout.setContentsMargins(6, 6, 6, 6)
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.tracker = DupeRegistry(library=self.lib)

View File

@@ -35,7 +35,7 @@ class FixUnlinkedEntriesModal(QWidget):
self.setMinimumSize(400, 300)
self.root_layout = QVBoxLayout(self)
self.root_layout.setContentsMargins(6, 6, 6, 6)
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.unlinked_desc_widget = QLabel()
self.unlinked_desc_widget.setObjectName("unlinkedDescriptionLabel")

View File

@@ -168,7 +168,7 @@ class FoldersToTagsModal(QWidget):
self.setMinimumSize(640, 640)
self.root_layout = QVBoxLayout(self)
self.root_layout.setContentsMargins(6, 6, 6, 6)
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.title_widget = QLabel()
self.title_widget.setObjectName("title")

View File

@@ -37,7 +37,7 @@ class MirrorEntriesModal(QWidget):
self.root_layout = QVBoxLayout(self)
self.root_layout.setContentsMargins(6, 6, 6, 6)
self.tracker = tracker
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.desc_widget = QLabel()
self.desc_widget.setObjectName("descriptionLabel")

View File

@@ -31,7 +31,7 @@ class PagedPanel(QWidget):
self.root_layout.setObjectName("baseLayout")
self.root_layout.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.root_layout.setContentsMargins(0, 0, 0, 0)
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.content_container = QWidget()
self.content_layout = QVBoxLayout(self.content_container)

View File

@@ -32,7 +32,7 @@ class PanelModal(QWidget):
self.setWindowModality(Qt.WindowModality.ApplicationModal)
self.root_layout = QVBoxLayout(self)
self.root_layout.setContentsMargins(6, 0, 6, 6)
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.title_widget = QLabel()
self.title_widget.setObjectName("fieldTitle")

View File

@@ -35,7 +35,7 @@ class ProgressWidget(QWidget):
self.setWindowFlags(self.pb.windowFlags() & ~Qt.WindowType.WindowCloseButtonHint)
self.setWindowTitle(window_title)
self.setWindowModality(Qt.WindowModality.ApplicationModal)
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
def update_label(self, text: str):
self.pb.setLabelText(text)