Skip to content

Commit 479f459

Browse files
committed
fix lint error
1 parent 4b90462 commit 479f459

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

exporter/opentelemetry-exporter-otlp-proto-common/tests/test_metrics_encoder.py

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ def test_encode_sum_int(self):
171171
start_time_unix_nano=1641946015139533244,
172172
time_unix_nano=1641946016139533244,
173173
as_int=33,
174-
flags=int(DataPointFlags.get_default()),
174+
flags=int(
175+
DataPointFlags.get_default()
176+
),
175177
)
176178
],
177179
aggregation_temporality=AggregationTemporality.CUMULATIVE,
@@ -524,7 +526,9 @@ def test_encode_histogram(self):
524526
],
525527
max=18.0,
526528
min=8.0,
527-
flags=int(DataPointFlags.get_default()),
529+
flags=int(
530+
DataPointFlags.get_default()
531+
),
528532
)
529533
],
530534
aggregation_temporality=AggregationTemporality.DELTA,
@@ -656,7 +660,9 @@ def test_encode_multiple_scope_histogram(self):
656660
],
657661
max=18.0,
658662
min=8.0,
659-
flags=int(DataPointFlags.get_default()),
663+
flags=int(
664+
DataPointFlags.get_default()
665+
),
660666
)
661667
],
662668
aggregation_temporality=AggregationTemporality.DELTA,
@@ -719,7 +725,9 @@ def test_encode_multiple_scope_histogram(self):
719725
],
720726
max=18.0,
721727
min=8.0,
722-
flags=int(DataPointFlags.get_default()),
728+
flags=int(
729+
DataPointFlags.get_default()
730+
),
723731
)
724732
],
725733
aggregation_temporality=AggregationTemporality.DELTA,
@@ -790,7 +798,9 @@ def test_encode_multiple_scope_histogram(self):
790798
],
791799
max=18.0,
792800
min=8.0,
793-
flags=int(DataPointFlags.get_default()),
801+
flags=int(
802+
DataPointFlags.get_default()
803+
),
794804
)
795805
],
796806
aggregation_temporality=AggregationTemporality.DELTA,
@@ -861,7 +871,9 @@ def test_encode_multiple_scope_histogram(self):
861871
],
862872
max=18.0,
863873
min=8.0,
864-
flags=int(DataPointFlags.get_default()),
874+
flags=int(
875+
DataPointFlags.get_default()
876+
),
865877
)
866878
],
867879
aggregation_temporality=AggregationTemporality.DELTA,
@@ -978,7 +990,9 @@ def test_encode_exponential_histogram(self):
978990
offset=9,
979991
bucket_counts=[10, 11],
980992
),
981-
flags=int(DataPointFlags.get_default()),
993+
flags=int(
994+
DataPointFlags.get_default()
995+
),
982996
exemplars=[],
983997
min=13.0,
984998
max=14.0,

0 commit comments

Comments
 (0)