Skip to content

Commit

Permalink
chore: fix pydocstyle and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
slint committed Mar 7, 2025
1 parent e3a79d5 commit e3e735a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker_services_cli/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def override_default_env(services_to_override=None):
service_name, ""
)
env_var_with_version = (
f"{service_name.upper()}_" f"{service_override_version}_LATEST"
f"{service_name.upper()}_{service_override_version}_LATEST"
)
if SERVICES_ALL_DEFAULT_VERSIONS.get(env_var_with_version):
os.environ[f"{service_name.upper()}_VERSION"] = (
Expand Down
4 changes: 2 additions & 2 deletions docker_services_cli/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def redis_healthcheck(*args, **kwargs):


def minio_healthcheck(*args, **kwargs):
"""Minio healthcheck."""
verbose = kwargs["verbose"]

return _run_healthcheck_command(
Expand Down Expand Up @@ -178,8 +179,7 @@ def wait_for_services(
ready = check(filepath=filepath, verbose=verbose)
while not ready and try_ < max_retries:
click.secho(
f"{service} not ready at {try_} retries, waiting "
f"{exp_backoff_time}s",
f"{service} not ready at {try_} retries, waiting {exp_backoff_time}s",
fg="yellow",
)
try_ += 1
Expand Down

0 comments on commit e3e735a

Please sign in to comment.