Merge typeshed return annotations #587
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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:
_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)
|
Run pyright:
_distutils_hack/__init__.py#L215
Expression value is unused (reportUnusedExpression)
|
Run pyright:
setuptools/tests/test_logging.py#L37
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
Loading