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 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:
parent
67e9ba9672
commit
0870ba1368
1 changed files with 7 additions and 7 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue