Reformat file with black

This commit is contained in:
deajan 2024-09-03 23:50:24 +02:00
parent 550aa05212
commit e490fb732f

View file

@ -705,7 +705,7 @@ def config_gui(full_config: dict, config_file: str):
for entry in inheritance_list: for entry in inheritance_list:
if entry in value: if entry in value:
value.remove(entry) value.remove(entry)
# check if value is inherited from group, and if so, delete it from repo config # check if value is inherited from group, and if so, delete it from repo config
if full_config.g(inheritance_key) == value: if full_config.g(inheritance_key) == value:
full_config.d(active_object_key) full_config.d(active_object_key)
@ -750,7 +750,7 @@ def config_gui(full_config: dict, config_file: str):
"instance", "instance",
"http_username", "http_username",
"http_password", "http_password",
"no_cert_verify" "no_cert_verify",
): ):
full_config.d(f"repos.{object_name}.prometheus.{prom_key}") full_config.d(f"repos.{object_name}.prometheus.{prom_key}")
return full_config return full_config