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'), str('./corrlib'),
"--dataset", "--dataset",
"-d", "-d",
), ),
uuid: str = typer.Argument(), uuid: str = typer.Argument(),
) -> None: ) -> None:
""" """
Update a project by it's UUID. Update a project by it's UUID.
""" """
@ -43,7 +43,7 @@ def list(
"-d", "-d",
), ),
entities: str = typer.Argument('ensembles'), entities: str = typer.Argument('ensembles'),
) -> None: ) -> None:
""" """
List entities. (ensembles, projects) List entities. (ensembles, projects)
""" """
@ -72,10 +72,10 @@ def alias_add(
str('./corrlib'), str('./corrlib'),
"--dataset", "--dataset",
"-d", "-d",
), ),
uuid: str = typer.Argument(), uuid: str = typer.Argument(),
alias: str = typer.Argument(), alias: str = typer.Argument(),
) -> None: ) -> None:
""" """
Add an alias to a project UUID. Add an alias to a project UUID.
""" """
@ -90,11 +90,11 @@ def find(
str('./corrlib'), str('./corrlib'),
"--dataset", "--dataset",
"-d", "-d",
), ),
ensemble: str = typer.Argument(), ensemble: str = typer.Argument(),
corr: str = typer.Argument(), corr: str = typer.Argument(),
code: 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. 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'), str('./corrlib'),
"--dataset", "--dataset",
"-d", "-d",
), ),
files: str = typer.Argument( files: str = typer.Argument(
), ),
copy_file: bool = typer.Option( copy_file: bool = typer.Option(
bool(True), bool(True),
"--save", "--save",
"-s", "-s",
), ),
) -> None: ) -> None:
""" """
Import a project from a .toml-file via CLI. Import a project from a .toml-file via CLI.
""" """
@ -190,6 +190,6 @@ def main(
help="Show the application's version and exit.", help="Show the application's version and exit.",
callback=_version_callback, callback=_version_callback,
is_eager=True, is_eager=True,
) )
) -> None: ) -> None:
return return