Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mypy: don't follow imports #4368

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@
strict_equality = True
strict_optional = True
no_implicit_optional = True
no_implicit_reexport = True
no_implicit_reexport = True
# https://mypy.readthedocs.io/en/stable/running_mypy.html#follow-imports
follow_imports = silent
4 changes: 2 additions & 2 deletions opentelemetry-sdk/src/opentelemetry/sdk/util/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ class BoundedList(Sequence[_T]):
@overload
def __getitem__(self, s: slice) -> Sequence[_T]: ...
def __len__(self) -> int: ...
def append(self, item: _T): ...
def extend(self, seq: Sequence[_T]): ...
def append(self, item: _T) -> None: ...
def extend(self, seq: Sequence[_T]) -> None: ...
@classmethod
def from_seq(cls, maxlen: int, seq: Iterable[_T]) -> BoundedList[_T]: ... # pylint: disable=undefined-variable

Expand Down
Loading