MCPcopy
hub / github.com/python/mypy / is_list_of_setuptools_extension

Function is_list_of_setuptools_extension

setup.py:30–31  ·  view source on GitHub ↗
(items: list[Any])

Source from the content-addressed store, hash-verified

28
29
30def is_list_of_setuptools_extension(items: list[Any]) -> TypeGuard[list[Extension]]:
31 return all(isinstance(item, Extension) for item in items)
32
33
34def find_package_data(base: str, globs: list[str], root: str = "mypy") -> list[str]:

Callers 1

setup.pyFile · 0.85

Calls 2

allFunction · 0.85
isinstanceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…