From 2b8cb6cf668222df33dd131421bb4781abf4386b Mon Sep 17 00:00:00 2001 From: Pablo Collins Date: Mon, 28 Oct 2024 16:51:41 -0400 Subject: [PATCH] Fix lint --- tests/ott_trace_loop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ott_trace_loop.py b/tests/ott_trace_loop.py index 78d65d1..f4c5822 100644 --- a/tests/ott_trace_loop.py +++ b/tests/ott_trace_loop.py @@ -9,7 +9,7 @@ def trace_loop(loops): tracer = trace.get_tracer("my-tracer") - for i in range(loops): + for _ in range(loops): with tracer.start_as_current_span("my-span"): time.sleep(0.5) @@ -34,7 +34,7 @@ def wrapper_command(self): def on_start(self): return None - def on_stop(self, telemetry, stdout: str, stderr: str, returncode: int) -> None: + def on_stop(self, telemetry, stdout: str, stderr: str, returncode: int) -> None: # noqa: ARG002 span_count = num_spans(telemetry) assert span_count == NUM_SPANS