Skip to content

Commit 810d23a

Browse files
committed
disable import-error for collections abc because of pylint bug
Signed-off-by: emdneto <[email protected]>
1 parent daa4be9 commit 810d23a

File tree

2 files changed

+5
-2
lines changed
  • opentelemetry-api/src/opentelemetry/attributes
  • opentelemetry-sdk/src/opentelemetry/sdk/util

2 files changed

+5
-2
lines changed

opentelemetry-api/src/opentelemetry/attributes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import logging
1616
import threading
1717
from collections import OrderedDict
18-
from collections.abc import MutableMapping
18+
from collections.abc import MutableMapping # pylint: disable=import-error
1919
from typing import Optional, Sequence, Tuple, Union
2020

2121
from opentelemetry.util import types

opentelemetry-sdk/src/opentelemetry/sdk/util/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
import datetime
1616
import threading
1717
from collections import deque
18-
from collections.abc import MutableMapping, Sequence
18+
from collections.abc import ( # pylint: disable=import-error
19+
MutableMapping,
20+
Sequence,
21+
)
1922
from typing import Optional
2023

2124
from deprecated import deprecated

0 commit comments

Comments
 (0)