Merge simple type annotations from typeshed #217
Annotations
3 errors and 10 warnings
|
Run pyright:
setuptools/command/easy_install.py#L716
Expression of type "Literal[True] | None" is incompatible with declared type "bool"
Type "Literal[True] | None" is incompatible with type "bool"
"None" is incompatible with "bool" (reportAssignmentType)
|
Run pyright
1 error
|
Run pyright:
setuptools/monkey.py#L76
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
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#L85
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
Run pyright:
setuptools/monkey.py#L86
"extension" 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" (reportArgumentType)
|
Loading