Skip to content

Commit

Permalink
disable import-error for collections abc because of pylint bug
Browse files Browse the repository at this point in the history
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
  • Loading branch information
emdneto committed Dec 16, 2024
1 parent daa4be9 commit 810d23a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opentelemetry-api/src/opentelemetry/attributes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import logging
import threading
from collections import OrderedDict
from collections.abc import MutableMapping
from collections.abc import MutableMapping # pylint: disable=import-error
from typing import Optional, Sequence, Tuple, Union

from opentelemetry.util import types
Expand Down
5 changes: 4 additions & 1 deletion opentelemetry-sdk/src/opentelemetry/sdk/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
import datetime
import threading
from collections import deque
from collections.abc import MutableMapping, Sequence
from collections.abc import ( # pylint: disable=import-error
MutableMapping,
Sequence,
)
from typing import Optional

from deprecated import deprecated
Expand Down

0 comments on commit 810d23a

Please sign in to comment.