Skip to content

Commit 04a21e0

Browse files
committed
More linting
1 parent e2b7778 commit 04a21e0

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class Exemplar:
3737
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/data-model.md#exemplars
3838
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#exemplar
3939
"""
40+
4041
# TODO Fix doc - if using valid Google `Attributes:` key, the attributes are duplicated
4142
# one will come from napoleon extension and the other from autodoc extension. This
4243
# will raise an sphinx error of duplicated object description

opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/measurement.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class Measurement:
3232
context: The active Context of the Measurement at API call time.
3333
attributes: Measurement attributes
3434
"""
35+
3536
# TODO Fix doc - if using valid Google `Attributes:` key, the attributes are duplicated
3637
# one will come from napoleon extension and the other from autodoc extension. This
3738
# will raise an sphinx error of duplicated object description

opentelemetry-sdk/tests/metrics/test_view_instrument_match.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,10 @@ def test_collect_resets_start_time_unix_nano(self, mock_time_ns):
297297
)
298298
)
299299
view_instrument_match._view._aggregation._create_aggregation.assert_called_with(
300-
instrument, {"foo": "bar0"}, _default_reservoir_factory, start_time_unix_nano
300+
instrument,
301+
{"foo": "bar0"},
302+
_default_reservoir_factory,
303+
start_time_unix_nano,
301304
)
302305
collection_start_time_unix_nano = time_ns()
303306
collected_data_points = view_instrument_match.collect(

0 commit comments

Comments
 (0)