fix: black

This commit is contained in:
egarette@silique.fr 2026-06-21 17:08:40 +02:00
parent d9c266cc84
commit 863fa6e979

View file

@ -57,7 +57,9 @@ class RougailUserDataYaml:
if filename.is_file():
self.filenames.append(filename)
else:
for name in sorted(chain(filename.glob('*.yml'), filename.glob('*.yaml'))):
for name in sorted(
chain(filename.glob("*.yml"), filename.glob("*.yaml"))
):
self.filenames.append(name)
self.file_with_secrets = self.rougailconfig["yaml.file_with_secrets"]
@ -71,7 +73,7 @@ class RougailUserDataYaml:
def run(
self,
) -> None:
self.yaml = YAML(typ='safe', pure=True)
self.yaml = YAML(typ="safe", pure=True)
user_data = []
if self.file_with_secrets == "last":
last_filename_idx = len(self.filenames) - 1