Skip to content

Commit

Permalink
mypy: don't follow imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Dec 20, 2024
1 parent 9e94fd2 commit a119b4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
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

0 comments on commit a119b4b

Please sign in to comment.