Enforce ruff/pyupgrade rules (UP) #445
Annotations
10 warnings
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"
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)
|
Loading