Skip to content

Type sequence checks in setuptools/dist.py #265

Type sequence checks in setuptools/dist.py

Type sequence checks in setuptools/dist.py #265

Triggered via pull request October 15, 2024 16:10
Status Success
Total duration 46s
Artifacts

pyright.yml

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

Annotations

20 warnings
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)
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): setuptools/config/_apply_pyprojecttoml.py#L33
Import "distutils.dist" could not be resolved from source (reportMissingModuleSource)