[blocked by #4755] Merge typeshed return annotations #549
Annotations
10 warnings
Run pyright:
setuptools/monkey.py#L81
"dist" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
Run pyright:
setuptools/monkey.py#L81
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
Run pyright:
setuptools/monkey.py#L81
"cmd" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
Run pyright:
setuptools/monkey.py#L90
Cannot assign to attribute "Extension" for class "ModuleType"
Attribute "Extension" is unknown (reportAttributeAccessIssue)
|
Run pyright:
setuptools/monkey.py#L105
"dist" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
Run pyright:
setup.py#L79
No overloads for "relpath" match the provided arguments (reportCallIssue)
|
Run pyright:
setup.py#L79
Argument of type "str | None" cannot be assigned to parameter "path" of type "StrPath" in function "relpath"
Type "str | None" is not assignable to type "StrPath"
Type "None" is not assignable to type "StrPath"
"None" is not assignable to "str"
"None" is incompatible with protocol "PathLike[str]"
"__fspath__" is not present (reportArgumentType)
|
Run pyright:
setuptools/config/_apply_pyprojecttoml.py#L348
No overloads for "getattr" match the provided arguments (reportCallIssue)
|
Run pyright:
setuptools/config/_apply_pyprojecttoml.py#L348
Argument of type "_S@reduce" cannot be assigned to parameter "name" of type "str" in function "getattr"
"object*" is not assignable to "str" (reportArgumentType)
|
Run pyright:
_distutils_hack/__init__.py#L76
Operator "in" not supported for types "Literal['_distutils']" and "str | None"
Operator "in" not supported for types "Literal['_distutils']" and "None" (reportOperatorIssue)
|
Loading