mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Some minor reformatting to satisfy black
This commit is contained in:
parent
5e4324accb
commit
2f68293c74
2 changed files with 10 additions and 5 deletions
|
@ -57,10 +57,12 @@ class Models(QDialog):
|
|||
]
|
||||
|
||||
if self.fromMain:
|
||||
default_buttons.extend([
|
||||
default_buttons.extend(
|
||||
[
|
||||
(_("Fields..."), self.onFields),
|
||||
(_("Cards..."), self.onCards),
|
||||
])
|
||||
]
|
||||
)
|
||||
|
||||
default_buttons.append((_("Options..."), self.onAdvanced))
|
||||
|
||||
|
|
|
@ -685,7 +685,10 @@ hooks = [
|
|||
),
|
||||
# Model
|
||||
###################
|
||||
Hook(name="models_advanced_will_show", args=["advanced: QDialog"],),
|
||||
Hook(
|
||||
name="models_advanced_will_show",
|
||||
args=["advanced: QDialog"],
|
||||
),
|
||||
Hook(
|
||||
name="models_did_init_buttons",
|
||||
args=[
|
||||
|
|
Loading…
Reference in a new issue