From 153c8aed2750b33d2a9605173ff1180464107c8a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 12 Oct 2020 12:17:02 +1000 Subject: [PATCH] formatting fixes --- qt/aqt/models.py | 5 ++++- qt/aqt/profiles.py | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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", + ) ) )