Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcollins committed Oct 28, 2024
1 parent 86148c0 commit 2b8cb6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ott_trace_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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

Expand Down

0 comments on commit 2b8cb6c

Please sign in to comment.