Skip to content

Commit 1c834b1

Browse files
Fix issues spotted by ruff
1 parent 982165d commit 1c834b1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

examples/benchmark_search.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
uv run python examples/benchmark_search.py # default 100 iterations
1212
uv run python examples/benchmark_search.py -n 50 # fewer for a quick check
1313
"""
14+
1415
from __future__ import annotations
1516

1617
import argparse
@@ -56,7 +57,9 @@ def fmt_ms(seconds: float) -> str:
5657

5758
def main() -> int:
5859
parser = argparse.ArgumentParser(description="Benchmark SDK search latency")
59-
parser.add_argument("--iterations", "-n", type=int, default=100, help="iterations per benchmark (default 100)")
60+
parser.add_argument(
61+
"--iterations", "-n", type=int, default=100, help="iterations per benchmark (default 100)"
62+
)
6063
args = parser.parse_args()
6164
n = args.iterations
6265

0 commit comments

Comments
 (0)