diff --git a/.pylintrc b/.pylintrc index 014d26c10..ac66fdbfb 100644 --- a/.pylintrc +++ b/.pylintrc @@ -81,7 +81,7 @@ disable=missing-docstring, missing-module-docstring, # temp-pylint-upgrade import-error, # needed as a workaround as reported here: https://github.com/open-telemetry/opentelemetry-python-contrib/issues/290 cyclic-import, - E0611, + E0611, # disabled since pylint use wrong path because of project folder structure divergence # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py b/opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py index 8a0e0a1fc..dd04588fd 100644 --- a/opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py +++ b/opentelemetry-distro/src/amazon/opentelemetry/distro/aws_opentelemetry_configurator.py @@ -6,9 +6,10 @@ from opentelemetry.trace import set_tracer_provider +# pylint: disable=W0246 class AwsTracerProvider(TracerProvider): def __init__(self): - super(AwsTracerProvider, self).__init__() # pylint: disable=W0246 + super(AwsTracerProvider, self).__init__() # TODO: # 1. Add SpanMetricsProcessor to generate AppSignal metrics from spans and exports them # 2. Add AttributePropagatingSpanProcessor to propagate span attributes from parent to child