Skip to content

Commit a51550f

Browse files
committed
fix: I forgot to run ruff format
1 parent 5854ccc commit a51550f

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

tagstudio/src/qt/modals/add_field.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, library: Library):
3131
self.setMinimumSize(400, 300)
3232
self.root_layout = QVBoxLayout(self)
3333
self.root_layout.setContentsMargins(6, 6, 6, 6)
34-
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
34+
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
3535

3636
self.title_widget = QLabel()
3737
self.title_widget.setObjectName("fieldTitle")

tagstudio/src/qt/modals/delete_unlinked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self, driver: "QtDriver", tracker: MissingRegistry):
3636
self.setMinimumSize(500, 400)
3737
self.root_layout = QVBoxLayout(self)
3838
self.root_layout.setContentsMargins(6, 6, 6, 6)
39-
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
39+
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
4040

4141
self.desc_widget = QLabel()
4242
self.desc_widget.setObjectName("descriptionLabel")

tagstudio/src/qt/modals/drop_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(self, driver: "QtDriver"):
4747
self.setMinimumSize(500, 400)
4848
self.root_layout = QVBoxLayout(self)
4949
self.root_layout.setContentsMargins(6, 6, 6, 6)
50-
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
50+
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
5151

5252
self.desc_widget = QLabel()
5353
self.desc_widget.setObjectName("descriptionLabel")

tagstudio/src/qt/modals/file_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self, library: "Library"):
4141
self.setMinimumSize(240, 400)
4242
self.root_layout = QVBoxLayout(self)
4343
self.root_layout.setContentsMargins(6, 6, 6, 6)
44-
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
44+
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
4545

4646
# Create Table Widget --------------------------------------------------
4747
self.table = QTableWidget(len(self.lib.prefs(LibraryPrefs.EXTENSION_LIST)), 1)

tagstudio/src/qt/modals/fix_dupes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self, library: "Library", driver: "QtDriver"):
3636
self.setMinimumSize(400, 300)
3737
self.root_layout = QVBoxLayout(self)
3838
self.root_layout.setContentsMargins(6, 6, 6, 6)
39-
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
39+
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
4040

4141
self.tracker = DupeRegistry(library=self.lib)
4242

tagstudio/src/qt/modals/fix_unlinked.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(self, library: "Library", driver: "QtDriver"):
3535
self.setMinimumSize(400, 300)
3636
self.root_layout = QVBoxLayout(self)
3737
self.root_layout.setContentsMargins(6, 6, 6, 6)
38-
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
38+
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
3939

4040
self.unlinked_desc_widget = QLabel()
4141
self.unlinked_desc_widget.setObjectName("unlinkedDescriptionLabel")

tagstudio/src/qt/modals/folders_to_tags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def __init__(self, library: "Library", driver: "QtDriver"):
168168
self.setMinimumSize(640, 640)
169169
self.root_layout = QVBoxLayout(self)
170170
self.root_layout.setContentsMargins(6, 6, 6, 6)
171-
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
171+
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
172172

173173
self.title_widget = QLabel()
174174
self.title_widget.setObjectName("title")

tagstudio/src/qt/modals/mirror_entities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self, driver: "QtDriver", tracker: DupeRegistry):
3737
self.root_layout = QVBoxLayout(self)
3838
self.root_layout.setContentsMargins(6, 6, 6, 6)
3939
self.tracker = tracker
40-
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
40+
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
4141

4242
self.desc_widget = QLabel()
4343
self.desc_widget.setObjectName("descriptionLabel")

tagstudio/src/qt/widgets/paged_panel/paged_panel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, size: tuple[int, int], stack: list[PagedPanelState]):
3131
self.root_layout.setObjectName("baseLayout")
3232
self.root_layout.setAlignment(Qt.AlignmentFlag.AlignCenter)
3333
self.root_layout.setContentsMargins(0, 0, 0, 0)
34-
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
34+
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
3535

3636
self.content_container = QWidget()
3737
self.content_layout = QVBoxLayout(self.content_container)

tagstudio/src/qt/widgets/panel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(
3232
self.setWindowModality(Qt.WindowModality.ApplicationModal)
3333
self.root_layout = QVBoxLayout(self)
3434
self.root_layout.setContentsMargins(6, 0, 6, 6)
35-
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
35+
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
3636

3737
self.title_widget = QLabel()
3838
self.title_widget.setObjectName("fieldTitle")

tagstudio/src/qt/widgets/progress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(
3535
self.setWindowFlags(self.pb.windowFlags() & ~Qt.WindowType.WindowCloseButtonHint)
3636
self.setWindowTitle(window_title)
3737
self.setWindowModality(Qt.WindowModality.ApplicationModal)
38-
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
38+
self.setWindowFlag(Qt.Dialog, on=True) # type: ignore
3939

4040
def update_label(self, text: str):
4141
self.pb.setLabelText(text)

0 commit comments

Comments
 (0)