Format code with black and autopep8

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

Details: https://deepsource.io/gh/GradienceTeam/Gradience/transform/1edc3f9e-3235-45f7-bd07-e561dbbe47df/
This commit is contained in:
deepsource-autofix[bot] 2022-09-10 08:58:52 +00:00 committed by GitHub
parent 684712ae0d
commit c7a5cf9e94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,7 @@ class GradiencePresetRow(Adw.ActionRow):
) as file:
preset_text = file.read()
preset = json.loads(preset_text)
preset_name = preset["name"]
variables = preset["variables"]
palette = preset["palette"]
@ -125,7 +125,7 @@ class GradiencePresetRow(Adw.ActionRow):
"gtk4": "",
"gtk3": "",
}
with open(
os.path.join(
os.environ.get("XDG_CONFIG_HOME",
@ -148,7 +148,7 @@ class GradiencePresetRow(Adw.ActionRow):
os.remove(
os.path.join(
os.environ.get("XDG_CONFIG_HOME",
os.environ["HOME"] + "/.config"),
os.environ["HOME"] + "/.config"),
"presets",
self.prefix,
to_slug_case(self.old_name) + ".json",