Skip to content

Commit 5e6fa4f

Browse files
committed
Fix up formatting
1 parent 572bab8 commit 5e6fa4f

3 files changed

Lines changed: 15 additions & 10 deletions

File tree

brainframe/cli/commands/info.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ def info():
1313
docker_compose.assert_installed(env_vars.install_path.get())
1414

1515
server_version = docker_compose.check_existing_version(
16-
env_vars.install_path.get())
16+
env_vars.install_path.get()
17+
)
1718

1819
fields = {
1920
"install_path": env_vars.install_path.get(),

brainframe/cli/commands/install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ def install():
120120
# Recommend to the user to add their custom paths to environment variables
121121
# so that future invocations of the program will know where to look.
122122
if (
123-
install_path != env_vars.install_path.default
124-
or data_path != env_vars.data_path.default
123+
install_path != env_vars.install_path.default
124+
or data_path != env_vars.data_path.default
125125
):
126126
print()
127127
print_utils.translate("install.set-custom-directory-env-vars")

brainframe/cli/commands/update.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,17 @@ def update():
1919
existing_version = docker_compose.check_existing_version(install_path)
2020
if version.parse(existing_version) >= version.parse(upgrade_version):
2121
if not args.downgrade:
22-
print_utils.fail_translate("update.version-failing",
23-
existing_version=existing_version,
24-
upgrade_version=upgrade_version)
25-
26-
print_utils.translate("update.upgrade-version",
27-
existing_version=existing_version,
28-
upgrade_version=upgrade_version)
22+
print_utils.fail_translate(
23+
"update.version-failing",
24+
existing_version=existing_version,
25+
upgrade_version=upgrade_version,
26+
)
27+
28+
print_utils.translate(
29+
"update.upgrade-version",
30+
existing_version=existing_version,
31+
upgrade_version=upgrade_version,
32+
)
2933

3034
print_utils.translate("general.downloading-docker-compose")
3135
docker_compose_path = install_path / "docker-compose.yml"

0 commit comments

Comments
 (0)