Skip to content

Commit 805826e

Browse files
committed
style: Format cli.py with black
Apply black formatting to comply with CI code style checks.
1 parent fac13f6 commit 805826e

File tree

1 file changed

+3
-2
lines changed
  • redis_benchmarks_specification/__cli__

1 file changed

+3
-2
lines changed

redis_benchmarks_specification/__cli__/cli.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def trigger_tests_dockerhub_cli_command_logic(args, project_name, project_versio
8080
decode_responses=False,
8181
)
8282
conn.ping()
83-
83+
8484
# Extract version from Docker image tag if possible
8585
# e.g., "redis:7.4.0" -> "7.4.0"
8686
# e.g., "valkey/valkey:7.2.6-bookworm" -> "7.2.6"
@@ -90,11 +90,12 @@ def trigger_tests_dockerhub_cli_command_logic(args, project_name, project_versio
9090
# Try to extract version number from tag
9191
# Common patterns: "7.4.0", "7.2.6-bookworm", "latest"
9292
import re
93+
9394
version_match = re.match(r"^(\d+\.\d+\.\d+)", tag)
9495
if version_match:
9596
git_version = version_match.group(1)
9697
logging.info(f"Extracted git_version '{git_version}' from image tag")
97-
98+
9899
testDetails = {}
99100
build_stream_fields, result = generate_benchmark_stream_request(
100101
args.id,

0 commit comments

Comments
 (0)