Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lzchen committed Aug 1, 2022
1 parent db633ec commit 2d1bfb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ def test_exporting(self):
{OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE: "DELTA"},
)
def test_preferred_temporality(self):
# pylint: disable=protected-access
exporter = OTLPMetricExporter(
preferred_temporality={Counter: AggregationTemporality.CUMULATIVE}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def __init__(
] = lambda metrics_data: metrics_data.to_json()
+ linesep,
):
super().__init__()
self.out = out
self.formatter = formatter

Expand All @@ -148,6 +149,7 @@ def shutdown(self, timeout_millis: float = 30_000, **kwargs) -> None:


class MetricReader(ABC):
# pylint: disable=too-many-branches
"""
Base class for all metric readers
Expand Down

0 comments on commit 2d1bfb3

Please sign in to comment.