Skip to content

Commit da7df07

Browse files
committed
[__main__] fmt
1 parent 2c9e15c commit da7df07

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/slice/__main__.py

+9-3
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,9 @@ def setUIMainLayout(self):
231231
#
232232

233233
def setUIAppIconTitle(self):
234-
monoton_id = QFontDatabase.addApplicationFont(":/font/Monoton-Regular.subset.ttf")
234+
monoton_id = QFontDatabase.addApplicationFont(
235+
":/font/Monoton-Regular.subset.ttf"
236+
)
235237
font_family = QFontDatabase.applicationFontFamilies(monoton_id)[0]
236238
monoton = QFont(font_family)
237239
outerHBox = QHBoxLayout()
@@ -518,7 +520,9 @@ def menu_clicked_source(self):
518520
QDesktopServices.openUrl(QUrl("https://github.com/source-foundry/Slice"))
519521

520522
def menu_clicked_updatecheck(self):
521-
QDesktopServices.openUrl(QUrl("https://github.com/source-foundry/Slice/releases"))
523+
QDesktopServices.openUrl(
524+
QUrl("https://github.com/source-foundry/Slice/releases")
525+
)
522526

523527
#
524528
# Button click events
@@ -671,7 +675,9 @@ def load_font(self, filepath):
671675
axis_value_table_was_set = self.fvar_table_model.load_font(self.font_model)
672676

673677
self.fvar_table_view.resizeColumnToContents(0)
674-
self.fvar_table_view.verticalHeader().resizeSections(QHeaderView.ResizeToContents)
678+
self.fvar_table_view.verticalHeader().resizeSections(
679+
QHeaderView.ResizeToContents
680+
)
675681

676682
# uncheck all bit flag setting check boxes
677683
self.os2_fsselection_bit_0_checkbox.setChecked(False)

0 commit comments

Comments
 (0)