From f251b34bcc45eebecf1dace24cef88144339eb43 Mon Sep 17 00:00:00 2001 From: Thomas Pierce Date: Mon, 10 Jun 2024 20:07:16 +0000 Subject: [PATCH] Fix lint --- .../distro/patches/_otlp_metric_exporter_patches.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_otlp_metric_exporter_patches.py b/aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_otlp_metric_exporter_patches.py index a8b5fa269..2eb68a82d 100644 --- a/aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_otlp_metric_exporter_patches.py +++ b/aws-opentelemetry-distro/src/amazon/opentelemetry/distro/patches/_otlp_metric_exporter_patches.py @@ -52,6 +52,7 @@ def patch_otlp_metric_exporter_mixin_common_configuration( preferred_aggregation: Dict[type, ViewAggregation] = None, ) -> None: + # pylint: disable=unnecessary-dunder-call MetricExporter.__init__( self, preferred_temporality=self._get_temporality(preferred_temporality), @@ -250,6 +251,7 @@ def patch_http_grpc_metric_exporter_init( self._common_configuration(preferred_temporality, preferred_aggregation) + # pylint: disable=unnecessary-dunder-call OTLPExporterMixin.__init__( self, endpoint=endpoint or environ.get(OTEL_EXPORTER_OTLP_METRICS_ENDPOINT),