[CI] Format code with Black

This commit is contained in:
yunohost-bot 2021-10-17 22:03:50 +00:00
parent 07c1ddceb7
commit 33d973bab4

View file

@ -223,7 +223,12 @@ class ConfigPanel:
self.values = {}
self.new_values = {}
if self.save_path and self.save_mode != "diff" and not creation and not os.path.exists(self.save_path):
if (
self.save_path
and self.save_mode != "diff"
and not creation
and not os.path.exists(self.save_path)
):
raise YunohostValidationError(
f"{self.entity_type}_unknown", **{self.entity_type: entity}
)