mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-10-04 16:57:52 +00:00
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:
parent
0f75e9f45d
commit
2d6f619dfe
1 changed files with 7 additions and 2 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue