From 14e1b0c37e079eb8c822c21bd5106334536b1c9a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Aug 2023 13:16:33 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- aiidalab_launch/__main__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/aiidalab_launch/__main__.py b/aiidalab_launch/__main__.py index 613072a..83cf08d 100644 --- a/aiidalab_launch/__main__.py +++ b/aiidalab_launch/__main__.py @@ -242,10 +242,12 @@ def remove_profile(ctx, app_state, profile, yes, force, purge): raise click.ClickException(f"Profile with name '{prof}' does not exist.") else: if purge: - ctx.invoke(reset, profile=profile, yes=yes) + ctx.invoke(reset, profile=profile, yes=yes) if not force: - instance = AiidaLabInstance(client=app_state.docker_client, profile=profile) + instance = AiidaLabInstance( + client=app_state.docker_client, profile=profile + ) status = asyncio.run(instance.status()) if status not in ( instance.AiidaLabInstanceStatus.DOWN,