Skip to content

Commit 028e414

Browse files
committed
Fix format
1 parent e7e4227 commit 028e414

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

opentelemetry-api/tests/metrics/test_meter_provider.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ def test_proxy_meter(self):
281281
proxy_counter.add(amount, attributes=attributes)
282282
real_counter.add.assert_called_once_with(amount, attributes, None)
283283
proxy_updowncounter.add(amount, attributes=attributes)
284-
real_updowncounter.add.assert_called_once_with(amount, attributes, None)
284+
real_updowncounter.add.assert_called_once_with(
285+
amount, attributes, None
286+
)
285287
proxy_histogram.record(amount, attributes=attributes)
286288
real_histogram.record.assert_called_once_with(amount, attributes, None)
287289
proxy_gauge.set(amount, attributes=attributes)

opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/exemplar/exemplar_reservoir.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,7 @@ def _find_bucket_index(
313313
return len(self._boundaries)
314314

315315

316-
ExemplarReservoirBuilder = Callable[
317-
[dict[str, Any]], ExemplarReservoir
318-
]
316+
ExemplarReservoirBuilder = Callable[[dict[str, Any]], ExemplarReservoir]
319317
ExemplarReservoirBuilder.__doc__ = """ExemplarReservoir builder.
320318
321319
It may receive the Aggregation parameters it is bounded to; e.g.

0 commit comments

Comments
 (0)