Format code with black and autopep8 (#490)

This commit is contained in:
0xMRTT 2022-09-23 19:45:33 +02:00 committed by GitHub
commit af20b63069
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
)
)