Skip to content

Commit aa16517

Browse files
committed
linting fix
1 parent f217cb2 commit aa16517

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/exporter/otlp/aws/common/otlp_aws_exporter.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import logging
25
from abc import ABC, abstractmethod
36
from typing import Optional

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/exporter/otlp/aws/logs/otlp_aws_logs_exporter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class OTLPAwsLogExporter(OTLPLogExporter, OTLPBaseAwsExporter):
1919
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-OTLPEndpoint.html
2020
"""
2121

22+
# pylint: disable=too-many-positional-arguments
2223
def __init__(
2324
self,
2425
endpoint: Optional[str] = None,
@@ -43,6 +44,7 @@ def __init__(
4344
session,
4445
)
4546

47+
# pylint: disable=no-self-use
4648
def get_service(self):
4749
return "logs"
4850

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/exporter/otlp/aws/traces/otlp_aws_span_exporter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class OTLPAwsSpanExporter(OTLPSpanExporter, OTLPBaseAwsExporter):
1818
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-OTLPEndpoint.html
1919
"""
2020

21+
# pylint: disable=too-many-positional-arguments
2122
def __init__(
2223
self,
2324
endpoint: Optional[str] = None,
@@ -43,6 +44,7 @@ def __init__(
4344
rsession,
4445
)
4546

47+
# pylint: disable=no-self-use
4648
def get_service(self):
4749
return "xray"
4850

0 commit comments

Comments
 (0)