Skip to content

Commit

Permalink
[__main__] fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissimpkins committed Mar 26, 2021
1 parent 2c9e15c commit da7df07
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/slice/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@ def setUIMainLayout(self):
#

def setUIAppIconTitle(self):
monoton_id = QFontDatabase.addApplicationFont(":/font/Monoton-Regular.subset.ttf")
monoton_id = QFontDatabase.addApplicationFont(
":/font/Monoton-Regular.subset.ttf"
)
font_family = QFontDatabase.applicationFontFamilies(monoton_id)[0]
monoton = QFont(font_family)
outerHBox = QHBoxLayout()
Expand Down Expand Up @@ -518,7 +520,9 @@ def menu_clicked_source(self):
QDesktopServices.openUrl(QUrl("https://github.com/source-foundry/Slice"))

def menu_clicked_updatecheck(self):
QDesktopServices.openUrl(QUrl("https://github.com/source-foundry/Slice/releases"))
QDesktopServices.openUrl(
QUrl("https://github.com/source-foundry/Slice/releases")
)

#
# Button click events
Expand Down Expand Up @@ -671,7 +675,9 @@ def load_font(self, filepath):
axis_value_table_was_set = self.fvar_table_model.load_font(self.font_model)

self.fvar_table_view.resizeColumnToContents(0)
self.fvar_table_view.verticalHeader().resizeSections(QHeaderView.ResizeToContents)
self.fvar_table_view.verticalHeader().resizeSections(
QHeaderView.ResizeToContents
)

# uncheck all bit flag setting check boxes
self.os2_fsselection_bit_0_checkbox.setChecked(False)
Expand Down

0 comments on commit da7df07

Please sign in to comment.