Skip to content

Commit 1d85953

Browse files
committed
Fix pylint
1 parent 40fc1ba commit 1d85953

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

opamp/opentelemetry-opamp-client/src/opentelemetry/_opamp/messages.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# pylint: disable=no-name-in-module
16+
1517
from __future__ import annotations
1618

1719
import json
@@ -23,10 +25,10 @@
2325
)
2426
from opentelemetry._opamp.proto import opamp_pb2
2527
from opentelemetry._opamp.proto.anyvalue_pb2 import (
26-
AnyValue as PB2AnyValue, # pylint: disable=no-name-in-module
28+
AnyValue as PB2AnyValue,
2729
)
2830
from opentelemetry._opamp.proto.anyvalue_pb2 import (
29-
KeyValue as PB2KeyValue, # pylint: disable=no-name-in-module
31+
KeyValue as PB2KeyValue,
3032
)
3133
from opentelemetry.util.types import AnyValue
3234

opamp/opentelemetry-opamp-client/tests/opamp/test_client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
# pylint: disable=no-name-in-module
16+
1517
import json
1618
from unittest import mock
1719

@@ -25,10 +27,10 @@
2527
)
2628
from opentelemetry._opamp.proto import opamp_pb2
2729
from opentelemetry._opamp.proto.anyvalue_pb2 import (
28-
AnyValue as PB2AnyValue, # pylint: disable=no-name-in-module
30+
AnyValue as PB2AnyValue,
2931
)
3032
from opentelemetry._opamp.proto.anyvalue_pb2 import (
31-
KeyValue as PB2KeyValue, # pylint: disable=no-name-in-module
33+
KeyValue as PB2KeyValue,
3234
)
3335
from opentelemetry._opamp.transport.requests import RequestsTransport
3436
from opentelemetry._opamp.version import __version__

0 commit comments

Comments
 (0)