diff --git a/qt/aqt/models.py b/qt/aqt/models.py index 16b728d2c..132d9a6bb 100644 --- a/qt/aqt/models.py +++ b/qt/aqt/models.py @@ -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") diff --git a/qt/aqt/profiles.py b/qt/aqt/profiles.py index dd8d7eabc..351b3dc6a 100644 --- a/qt/aqt/profiles.py +++ b/qt/aqt/profiles.py @@ -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", + ) ) )