Reformatted distutils-stubs #183
Annotations
20 warnings
pyright (3.12, ubuntu-latest):
setup.py#L79
No overloads for "relpath" match the provided arguments (reportCallIssue)
|
pyright (3.12, ubuntu-latest):
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)
|
pyright (3.12, 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.12, ubuntu-latest):
_distutils_hack/__init__.py#L215
Expression value is unused (reportUnusedExpression)
|
pyright (3.12, ubuntu-latest):
setuptools/command/bdist_egg.py#L106
Cannot access attribute "egg_info" for class "Command"
Attribute "egg_info" is unknown (reportAttributeAccessIssue)
|
pyright (3.12, ubuntu-latest):
setuptools/command/bdist_egg.py#L109
Cannot access attribute "bdist_base" for class "bdist"
Attribute "bdist_base" is unknown (reportAttributeAccessIssue)
|
pyright (3.12, ubuntu-latest):
setuptools/command/bdist_egg.py#L121
Cannot access attribute "_get_egg_basename" for class "Command"
Attribute "_get_egg_basename" is unknown (reportAttributeAccessIssue)
|
pyright (3.12, ubuntu-latest):
setuptools/command/bdist_egg.py#L126
No overloads for "join" match the provided arguments (reportCallIssue)
|
pyright (3.12, 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.12, ubuntu-latest):
setuptools/command/bdist_egg.py#L185
No overloads for "join" match the provided arguments (reportCallIssue)
|
pyright (3.8, ubuntu-latest):
setup.py#L79
No overloads for "relpath" match the provided arguments (reportCallIssue)
|
pyright (3.8, ubuntu-latest):
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)
|
pyright (3.8, 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.8, ubuntu-latest):
_distutils_hack/__init__.py#L215
Expression value is unused (reportUnusedExpression)
|
pyright (3.8, ubuntu-latest):
setuptools/command/bdist_egg.py#L106
Cannot access attribute "egg_info" for class "Command"
Attribute "egg_info" is unknown (reportAttributeAccessIssue)
|
pyright (3.8, ubuntu-latest):
setuptools/command/bdist_egg.py#L109
Cannot access attribute "bdist_base" for class "bdist"
Attribute "bdist_base" is unknown (reportAttributeAccessIssue)
|
pyright (3.8, ubuntu-latest):
setuptools/command/bdist_egg.py#L121
Cannot access attribute "_get_egg_basename" for class "Command"
Attribute "_get_egg_basename" is unknown (reportAttributeAccessIssue)
|
pyright (3.8, ubuntu-latest):
setuptools/command/bdist_egg.py#L126
No overloads for "join" match the provided arguments (reportCallIssue)
|
pyright (3.8, 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.8, ubuntu-latest):
setuptools/command/bdist_egg.py#L185
No overloads for "join" match the provided arguments (reportCallIssue)
|