Added flake_name:str argument everywhere, nix fmt doesn't complain anymore

This commit is contained in:
2023-10-14 14:57:36 +02:00
parent 06d6edbfa7
commit 718f647774
28 changed files with 365 additions and 206 deletions

View File

@@ -2,13 +2,13 @@ import argparse
import logging
import os
from ..dirs import clan_flake_dir
from ..dirs import clan_flakes_dir
log = logging.getLogger(__name__)
def list_flakes() -> list[str]:
path = clan_flake_dir()
path = clan_flakes_dir()
log.debug(f"Listing machines in {path}")
if not path.exists():
return []