fix ruff checks (mostly documentation and dead code)

This commit is contained in:
2025-03-03 17:19:12 -05:00
parent e1f672d1c5
commit 99757e4ae9
7 changed files with 119 additions and 30 deletions

View File

@ -1,9 +1,16 @@
"""Manages the CLI component of the tool."""
import argparse
def parse_inputs() -> argparse.Namespace:
"""Parse inputs from argparse.
:returns the argparse Namespace to be evaluated
"""
parser = argparse.ArgumentParser()
parser.add_argument("flake_path", metavar="flake-path", help="path to flake to evaluate")
parser.add_argument("--keep-hydra", action="store_true", help="allow evaluating Hydra jobs")
args = parser.parse_args()
return args
parser.add_argument("--keep-hydra", action="store_true", help="retain Hydra jobs")
parser.add_argument("--build", action="store_true", help="allow building Hydra jobs")
parser.add_argument("--evaluate", action="store_true", help="allow evaluating Hydra jobs")
return parser.parse_args()