mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-10-05 17:17:53 +00:00
Format code with black and autopep8
This commit fixes the style issues introduced in aa70de8
according to the output
from black and autopep8.
Details: https://deepsource.io/gh/GradienceTeam/Gradience/transform/d4be5e89-e2d5-4806-876e-e19fa04150c9/
This commit is contained in:
parent
aa70de875a
commit
db140ab28e
1 changed files with 5 additions and 7 deletions
|
@ -293,9 +293,7 @@ class GradiencePresetWindow(Adw.Window):
|
|||
Adw.Toast(title=_("Preset imported")))
|
||||
else:
|
||||
self.toast_overlay.add_toast(
|
||||
Adw.Toast(
|
||||
title=_("Unsupported file format, must be .json")
|
||||
)
|
||||
Adw.Toast(title=_("Unsupported file format, must be .json"))
|
||||
)
|
||||
|
||||
self.reload_pref_group()
|
||||
|
@ -384,9 +382,9 @@ class GradiencePresetWindow(Adw.Window):
|
|||
self.preset_list.set_title(_("User Presets"))
|
||||
self.preset_list.set_description(
|
||||
_(
|
||||
'See '\
|
||||
'<a href="https://github.com/GradienceTeam/Community">'\
|
||||
'GradienceTeam/Community</a> on Github for more presets'
|
||||
"See "
|
||||
'<a href="https://github.com/GradienceTeam/Community">'
|
||||
"GradienceTeam/Community</a> on Github for more presets"
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -411,7 +409,7 @@ class GradiencePresetWindow(Adw.Window):
|
|||
self.preset_empty = Adw.ActionRow()
|
||||
self.preset_empty.set_title(
|
||||
_(
|
||||
"No preset found! Use the import button to import one or "\
|
||||
"No preset found! Use the import button to import one or "
|
||||
"search one on the Explore tab"
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue