add rad_development_python to environment and add update instructions
This commit is contained in:
@ -5,13 +5,19 @@ from flupdt.cli import parse_inputs
|
||||
from flupdt.flake_eval import evaluate_output
|
||||
from flupdt.common import configure_logger
|
||||
import logging
|
||||
import rad_development_python as rd
|
||||
|
||||
|
||||
def main():
|
||||
configure_logger("INFO")
|
||||
rd.configure_logger("INFO")
|
||||
args = parse_inputs()
|
||||
print("hi")
|
||||
flake_path = args.flake_path
|
||||
derivations = get_derivations(flake_path)
|
||||
if not args.keep_hydra and len(list(filter(lambda s: s.startswith("hydraJobs"), derivations))) > 0:
|
||||
if (
|
||||
not args.keep_hydra
|
||||
and len(list(filter(lambda s: s.startswith("hydraJobs"), derivations))) > 0
|
||||
):
|
||||
logging.info("--keep-hydra flag is not specified, removing Hydra jobs")
|
||||
derivations = filter(lambda s: not s.startswith("hydraJobs"), derivations)
|
||||
logging.info(f"derivations: {list(derivations)}")
|
||||
|
Reference in New Issue
Block a user