Skip to content

Ensured all methods in setuptools.modified raise a consistant distutils.error.DistutilsError type #74

Ensured all methods in setuptools.modified raise a consistant distutils.error.DistutilsError type

Ensured all methods in setuptools.modified raise a consistant distutils.error.DistutilsError type #74

Triggered via pull request August 28, 2024 10:45
Status Success
Total duration 49s
Artifacts

pyright.yml

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

Annotations

20 warnings
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.8, ubuntu-latest): _distutils_hack/__init__.py#L77
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#L216
Expression value is unused (reportUnusedExpression)
pyright (3.8, ubuntu-latest): setuptools/config/_apply_pyprojecttoml.py#L329
No overloads for "getattr" match the provided arguments (reportCallIssue)
pyright (3.8, ubuntu-latest): setuptools/config/_apply_pyprojecttoml.py#L329
Argument of type "_S@reduce" cannot be assigned to parameter "name" of type "str" in function "getattr"   "object*" is incompatible with "str" (reportArgumentType)
pyright (3.8, ubuntu-latest): setuptools/tests/test_logging.py#L37
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
pyright (3.8, ubuntu-latest): setuptools/tests/test_logging.py#L74
"log" is not a known attribute of module "distutils.dist" (reportAttributeAccessIssue)
pyright (3.8, ubuntu-latest): setuptools/tests/test_logging.py#L76
"log" is not a known attribute of module "distutils.dist" (reportAttributeAccessIssue)
pyright (3.8, ubuntu-latest): setuptools/config/expand.py#L57
Cannot delete attribute "self" for class "StaticModule*"   Attribute "self" is unknown (reportAttributeAccessIssue)
pyright (3.12, ubuntu-latest): setuptools/tests/test_install_scripts.py#L30
"executable" is not a known attribute of "None" (reportOptionalMemberAccess)
pyright (3.12, ubuntu-latest): setuptools/config/_apply_pyprojecttoml.py#L32
Import "distutils.dist" could not be resolved from source (reportMissingModuleSource)
pyright (3.12, ubuntu-latest): setuptools/config/_apply_pyprojecttoml.py#L32
"_OptionsList" is unknown import symbol (reportAttributeAccessIssue)
pyright (3.12, ubuntu-latest): setuptools/config/_apply_pyprojecttoml.py#L329
No overloads for "getattr" match the provided arguments (reportCallIssue)
pyright (3.12, ubuntu-latest): setuptools/config/_apply_pyprojecttoml.py#L329
Argument of type "_S@reduce" cannot be assigned to parameter "name" of type "str" in function "getattr"   "object*" is incompatible with "str" (reportArgumentType)
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 "Unknown | None" cannot be assigned to parameter "path" of type "StrPath" in function "relpath" (reportArgumentType)
pyright (3.12, ubuntu-latest): _distutils_hack/__init__.py#L77
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#L216
Expression value is unused (reportUnusedExpression)
pyright (3.12, ubuntu-latest): setuptools/config/expand.py#L40
Import "distutils.errors" could not be resolved from source (reportMissingModuleSource)