Statically alias distutils-stubs to setuptools._distutils #557
Annotations
20 warnings
pyright (3.9, ubuntu-latest):
setup.py#L79
No overloads for "relpath" match the provided arguments (reportCallIssue)
|
pyright (3.9, ubuntu-latest):
setup.py#L79
Argument of type "Unknown | None" cannot be assigned to parameter "path" of type "StrPath" in function "relpath"
Type "Unknown | 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)
|
pyright (3.9, ubuntu-latest):
_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)
|
pyright (3.9, ubuntu-latest):
_distutils_hack/__init__.py#L215
Expression value is unused (reportUnusedExpression)
|
pyright (3.9, ubuntu-latest):
setuptools/command/bdist_egg.py#L106
"egg_info" is not a known attribute of "None" (reportOptionalMemberAccess)
|
pyright (3.9, ubuntu-latest):
setuptools/command/bdist_egg.py#L109
"bdist_base" is not a known attribute of "None" (reportOptionalMemberAccess)
|
pyright (3.9, ubuntu-latest):
setuptools/command/bdist_egg.py#L121
"_get_egg_basename" is not a known attribute of "None" (reportOptionalMemberAccess)
|
pyright (3.9, ubuntu-latest):
setuptools/command/bdist_egg.py#L126
No overloads for "join" match the provided arguments (reportCallIssue)
|
pyright (3.9, ubuntu-latest):
setuptools/command/bdist_egg.py#L126
Argument of type "None" cannot be assigned to parameter "a" of type "BytesPath" in function "join"
Type "None" is not assignable to type "BytesPath"
"None" is not assignable to "bytes"
"None" is incompatible with protocol "PathLike[bytes]"
"__fspath__" is not present (reportArgumentType)
|
pyright (3.9, ubuntu-latest):
setuptools/command/bdist_egg.py#L130
"install_lib" is not a known attribute of "None" (reportOptionalMemberAccess)
|
pyright (3.13, ubuntu-latest):
setuptools/command/bdist_egg.py#L106
"egg_info" is not a known attribute of "None" (reportOptionalMemberAccess)
|
pyright (3.13, ubuntu-latest):
setuptools/command/bdist_egg.py#L109
"bdist_base" is not a known attribute of "None" (reportOptionalMemberAccess)
|
pyright (3.13, ubuntu-latest):
setuptools/command/bdist_egg.py#L121
"_get_egg_basename" is not a known attribute of "None" (reportOptionalMemberAccess)
|
pyright (3.13, ubuntu-latest):
setuptools/command/bdist_egg.py#L126
No overloads for "join" match the provided arguments (reportCallIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/command/bdist_egg.py#L126
Argument of type "None" cannot be assigned to parameter "a" of type "BytesPath" in function "join"
Type "None" is not assignable to type "BytesPath"
"None" is not assignable to "bytes"
"None" is incompatible with protocol "PathLike[bytes]"
"__fspath__" is not present (reportArgumentType)
|
pyright (3.13, ubuntu-latest):
setuptools/command/bdist_egg.py#L130
"install_lib" is not a known attribute of "None" (reportOptionalMemberAccess)
|
pyright (3.13, ubuntu-latest):
setuptools/command/bdist_egg.py#L133
Cannot assign to attribute "data_files" for class "Distribution"
Expression of type "list[Unknown]" cannot be assigned to attribute "data_files" of class "Distribution"
"list[Unknown]" is not assignable to "None" (reportAttributeAccessIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/command/bdist_egg.py#L135
"None" is not iterable
"__iter__" method not defined (reportGeneralTypeIssues)
|
pyright (3.13, ubuntu-latest):
setuptools/command/bdist_egg.py#L145
Cannot access attribute "append" for class "None"
Attribute "append" is unknown (reportAttributeAccessIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/command/bdist_egg.py#L173
"root" is not a known attribute of "None" (reportOptionalMemberAccess)
|