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:
deepsource-autofix[bot] 2022-09-23 17:41:49 +00:00 committed by GitHub
parent aa70de875a
commit db140ab28e
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"
)
)