Format code with black and autopep8

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

Details: https://deepsource.io/gh/GradienceTeam/Gradience/transform/a4856bf8-01c9-4f68-b6ee-9aa2526edd6f/
This commit is contained in:
deepsource-autofix[bot] 2022-09-09 15:24:39 +00:00 committed by GitHub
parent 0f75e9f45d
commit 2d6f619dfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,7 @@ from .repo_row import GradienceRepoRow
from .modules.utils import buglog
from .constants import rootdir
@Gtk.Template(resource_path=f"{rootdir}/ui/presets_manager_window.ui")
class GradiencePresetWindow(Adw.Window):
__gtype_name__ = "GradiencePresetWindow"
@ -54,7 +55,9 @@ class GradiencePresetWindow(Adw.Window):
custom_presets = {}
official_repositories = {
_("Official"): "https://github.com/GradienceTeam/Community/raw/main/official.json",
_(
"Official"
): "https://github.com/GradienceTeam/Community/raw/main/official.json",
}
search_results_list = []
@ -64,7 +67,9 @@ class GradiencePresetWindow(Adw.Window):
self.settings = parent.settings
self.user_repositories = self.settings.get_value("repos").unpack()
self.user_repositories[_("Curated")] = "https://github.com/GradienceTeam/Community/raw/main/curated.json"
self.user_repositories[
_("Curated")
] = "https://github.com/GradienceTeam/Community/raw/main/curated.json"
self.enabled_repos = self.settings.get_value("enabled-repos").unpack()
self.repos_list = Adw.PreferencesGroup()
self.repos_list.set_title(_("Repositories"))