formatting fixes

This commit is contained in:
Damien Elmes 2020-10-12 12:17:02 +10:00
parent a4a461c17b
commit 153c8aed27
2 changed files with 8 additions and 2 deletions

View File

@ -36,7 +36,10 @@ class Models(QDialog):
self.mw.checkpoint(_("Note Types"))
self.form = aqt.forms.models.Ui_Dialog()
self.form.setupUi(self)
qconnect(self.form.buttonBox.helpRequested, lambda: openHelp("editing?id=adding-a-note-type"))
qconnect(
self.form.buttonBox.helpRequested,
lambda: openHelp("editing?id=adding-a-note-type"),
)
self.models: List[pb.NoteTypeNameIDUseCount] = []
self.setupModels()
restoreGeom(self, "models")

View File

@ -481,7 +481,10 @@ create table if not exists profiles
with open(p, "w", encoding="utf8") as file:
file.write(
without_unicode_isolation(
tr(TR.PROFILES_FOLDER_README, link=appHelpSite + "files?id=startup-options")
tr(
TR.PROFILES_FOLDER_README,
link=appHelpSite + "files?id=startup-options",
)
)
)