Enforce ruff/flake8-comprehensions rules (C4) #1400
Annotations
20 warnings
pyright (3.9, ubuntu-latest):
setuptools/monkey.py#L90
Cannot assign to attribute "Extension" for class "ModuleType"
Attribute "Extension" is unknown (reportAttributeAccessIssue)
|
pyright (3.9, ubuntu-latest):
setuptools/monkey.py#L81
"cmd" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
pyright (3.9, ubuntu-latest):
setuptools/monkey.py#L81
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
pyright (3.9, ubuntu-latest):
setuptools/monkey.py#L81
"dist" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
pyright (3.9, ubuntu-latest):
setup.py#L51
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.9, ubuntu-latest):
setup.py#L51
No overloads for "relpath" match the provided arguments (reportCallIssue)
|
pyright (3.9, ubuntu-latest):
setuptools/modified.py#L3
Import "distutils._modified" could not be resolved (reportMissingImports)
|
pyright (3.9, ubuntu-latest):
setuptools/logging.py#L35
"dist" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
pyright (3.9, ubuntu-latest):
setuptools/logging.py#L29
"dist" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
pyright (3.9, ubuntu-latest):
setuptools/launch.py#L18
Expression value is unused (reportUnusedExpression)
|
pyright (3.13, ubuntu-latest):
setuptools/monkey.py#L90
Cannot assign to attribute "Extension" for class "ModuleType"
Attribute "Extension" is unknown (reportAttributeAccessIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/monkey.py#L81
"cmd" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/monkey.py#L81
"core" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/monkey.py#L81
"dist" is not a known attribute of module "distutils" (reportAttributeAccessIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/monkey.py#L13
Import "distutils.filelist" could not be resolved from source (reportMissingModuleSource)
|
pyright (3.13, ubuntu-latest):
setuptools/modified.py#L3
Import "distutils._modified" could not be resolved from source (reportMissingModuleSource)
|
pyright (3.13, ubuntu-latest):
setuptools/logging.py#L35
"dist" is not a known attribute of module "distutils.log" (reportAttributeAccessIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/logging.py#L29
"dist" is not a known attribute of module "distutils.log" (reportAttributeAccessIssue)
|
pyright (3.13, ubuntu-latest):
setuptools/logging.py#L7
Import "distutils.log" could not be resolved (reportMissingImports)
|
pyright (3.13, ubuntu-latest):
setuptools/launch.py#L18
Expression value is unused (reportUnusedExpression)
|