Skip to content

For now avoid problems with pyproject-hooks #22

For now avoid problems with pyproject-hooks

For now avoid problems with pyproject-hooks #22

Triggered via push October 15, 2024 10:35
Status Failure
Total duration 47s
Artifacts

pyright.yml

on: push
Matrix: pyright
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 20 warnings
pyright (3.12, ubuntu-latest): setuptools/_shutil.py#L12
Expression of type "(path: FileDescriptorOrPath, mode: int, *, dir_fd: int | None = None, follow_symlinks: bool = ...) -> None" is incompatible with declared type "(*args: object, **kwargs: object) -> None"   Type "(path: FileDescriptorOrPath, mode: int, *, dir_fd: int | None = None, follow_symlinks: bool = ...) -> None" is incompatible with type "(*args: object, **kwargs: object) -> None"     Parameter 2: type "object" is incompatible with type "int"       "object" is incompatible with "int"     Parameter "*args" has no corresponding parameter     Parameter 2: type "object" is incompatible with type "int | None"       Type "object" is incompatible with type "int | None"         "object" is incompatible with "int"         "object" is incompatible with "None" ... (reportAssignmentType)
pyright (3.12, ubuntu-latest)
1 error
pyright (3.8, ubuntu-latest)
The job was canceled because "_3_12_ubuntu-latest" failed.
pyright (3.8, ubuntu-latest): setuptools/_shutil.py#L12
Expression of type "(path: FileDescriptorOrPath, mode: int, *, dir_fd: int | None = None, follow_symlinks: bool = ...) -> None" is incompatible with declared type "(*args: object, **kwargs: object) -> None"   Type "(path: FileDescriptorOrPath, mode: int, *, dir_fd: int | None = None, follow_symlinks: bool = ...) -> None" is incompatible with type "(*args: object, **kwargs: object) -> None"     Parameter 2: type "object" is incompatible with type "int"       "object" is incompatible with "int"     Parameter "*args" has no corresponding parameter     Parameter 2: type "object" is incompatible with type "int | None"       Type "object" is incompatible with type "int | None"         "object" is incompatible with "int"         "object" is incompatible with "None" ... (reportAssignmentType)
pyright (3.8, ubuntu-latest)
1 error
pyright (3.12, ubuntu-latest): setuptools/monkey.py#L13
Import "distutils.filelist" could not be resolved from source (reportMissingModuleSource)
pyright (3.12, ubuntu-latest): setuptools/monkey.py#L76
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.12, ubuntu-latest): setuptools/monkey.py#L81
"dist" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.12, ubuntu-latest): setuptools/monkey.py#L81
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.12, ubuntu-latest): setuptools/monkey.py#L81
"cmd" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.12, ubuntu-latest): setuptools/monkey.py#L85
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.12, ubuntu-latest): setuptools/monkey.py#L86
"extension" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.12, ubuntu-latest): setuptools/monkey.py#L90
Cannot assign to attribute "Extension" for class "ModuleType"   Attribute "Extension" is unknown (reportAttributeAccessIssue)
pyright (3.12, ubuntu-latest): setuptools/monkey.py#L105
"dist" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.12, ubuntu-latest): setup.py#L79
No overloads for "relpath" match the provided arguments (reportCallIssue)
pyright (3.8, ubuntu-latest): setuptools/monkey.py#L76
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.8, ubuntu-latest): setuptools/monkey.py#L81
"dist" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.8, ubuntu-latest): setuptools/monkey.py#L81
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.8, ubuntu-latest): setuptools/monkey.py#L81
"cmd" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.8, ubuntu-latest): setuptools/monkey.py#L85
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.8, ubuntu-latest): setuptools/monkey.py#L86
"extension" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.8, ubuntu-latest): setuptools/monkey.py#L90
Cannot assign to attribute "Extension" for class "ModuleType"   Attribute "Extension" is unknown (reportAttributeAccessIssue)
pyright (3.8, ubuntu-latest): setuptools/monkey.py#L105
"dist" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
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" (reportArgumentType)