nicer indents
Some checks failed
Ruff / ruff (push) Waiting to run
Mypy / mypy (push) Failing after 46s
Pytest / pytest (3.12) (push) Has been cancelled
Pytest / pytest (3.13) (push) Has been cancelled
Pytest / pytest (3.14) (push) Has been cancelled

This commit is contained in:
Justus Kuhlmann 2025-12-04 12:41:14 +01:00
commit 1c06383f76
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -26,9 +26,9 @@ def update(
str('./corrlib'),
"--dataset",
"-d",
),
),
uuid: str = typer.Argument(),
) -> None:
) -> None:
"""
Update a project by it's UUID.
"""
@ -43,7 +43,7 @@ def list(
"-d",
),
entities: str = typer.Argument('ensembles'),
) -> None:
) -> None:
"""
List entities. (ensembles, projects)
"""
@ -72,10 +72,10 @@ def alias_add(
str('./corrlib'),
"--dataset",
"-d",
),
),
uuid: str = typer.Argument(),
alias: str = typer.Argument(),
) -> None:
) -> None:
"""
Add an alias to a project UUID.
"""
@ -90,11 +90,11 @@ def find(
str('./corrlib'),
"--dataset",
"-d",
),
),
ensemble: str = typer.Argument(),
corr: str = typer.Argument(),
code: str = typer.Argument(),
) -> None:
) -> None:
"""
Find a record in the backlog at hand. Through specifying it's ensemble and the measured correlator.
"""
@ -108,15 +108,15 @@ def importer(
str('./corrlib'),
"--dataset",
"-d",
),
),
files: str = typer.Argument(
),
),
copy_file: bool = typer.Option(
bool(True),
"--save",
"-s",
),
) -> None:
),
) -> None:
"""
Import a project from a .toml-file via CLI.
"""
@ -190,6 +190,6 @@ def main(
help="Show the application's version and exit.",
callback=_version_callback,
is_eager=True,
)
) -> None:
)
) -> None:
return