Format code with black and autopep8

This commit fixes the style issues introduced in 67e9ba9 according to the output
from black and autopep8.

Details: https://deepsource.io/gh/GradienceTeam/Gradience/transform/a4e07f6a-0707-410a-aef1-13287a4a2e94/
This commit is contained in:
deepsource-autofix[bot] 2022-09-23 20:09:12 +00:00 committed by GitHub
parent 67e9ba9672
commit 0870ba1368
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -588,7 +588,7 @@ class GradienceApplication(Adw.Application):
dialog = GradienceAppTypeDialog(
_("Apply this color scheme?"),
_(
"Warning: any custom CSS files for those app types will be "\
"Warning: any custom CSS files for those app types will be "
"irreversibly overwritten!"
),
"apply",
@ -629,7 +629,7 @@ class GradienceApplication(Adw.Application):
transient_for=self.props.active_window,
heading=_("Save preset as..."),
body=_(
"Saving preset to <tt>{0}</tt>. If that preset already "\
"Saving preset to <tt>{0}</tt>. If that preset already "
"exists, it will be overwritten!"
).format(
os.path.join(
@ -657,7 +657,7 @@ class GradienceApplication(Adw.Application):
if len(preset_entry.get_text()) == 0:
dialog.set_body(
_(
"Saving preset to <tt>{0}</tt>. If that preset "\
"Saving preset to <tt>{0}</tt>. If that preset "
"already exists, it will be overwritten!"
).format(
os.path.join(
@ -674,7 +674,7 @@ class GradienceApplication(Adw.Application):
else:
dialog.set_body(
_(
"Saving preset to <tt>{0}</tt>. If that preset "\
"Saving preset to <tt>{0}</tt>. If that preset "
"already exists, it will be overwritten!"
).format(
os.path.join(
@ -702,7 +702,7 @@ class GradienceApplication(Adw.Application):
transient_for=self.props.active_window,
heading=_("You have unsaved changes!"),
body=_(
"Saving preset to <tt>{0}</tt>. If that preset already "\
"Saving preset to <tt>{0}</tt>. If that preset already "
"exists, it will be overwritten!"
).format(
os.path.join(
@ -733,7 +733,7 @@ class GradienceApplication(Adw.Application):
if len(preset_entry.get_text()) == 0:
dialog.set_body(
_(
"Saving preset to <tt>{0}</tt>. If that preset "\
"Saving preset to <tt>{0}</tt>. If that preset "
"already exists, it will be overwritten!"
).format(
os.path.join(
@ -750,7 +750,7 @@ class GradienceApplication(Adw.Application):
else:
dialog.set_body(
_(
"Saving preset to <tt>{0}</tt>. If that preset "\
"Saving preset to <tt>{0}</tt>. If that preset "
"already exists, it will be overwritten!"
).format(
os.path.join(