Skip to content

Basic type-checking with mypy and pyright #952

Basic type-checking with mypy and pyright

Basic type-checking with mypy and pyright #952

Triggered via pull request November 2, 2023 17:10
Status Failure
Total duration 6h 1m 35s
Artifacts 1

main.yml

on: pull_request
Matrix: Cross-compile ARM
Matrix: mypy
Matrix: pyright
Matrix: Build and test
Fit to window
Zoom out
Zoom in

Annotations

36 errors and 72 warnings
pyright (3.8): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.8)
1 error
pyright (3.7): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.7)
1 error
pyright (3.11): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.11)
1 error
pyright (3.10): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.10)
1 error
pyright (3.9): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.9)
1 error
pyright (3.12): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.12)
1 error
Build and test (3.11, x64)
The job running on runner GitHub Actions 19 has exceeded the maximum execution time of 360 minutes.
Build and test (3.11, x64)
The operation was canceled.
Build and test (3.12-dev, x64)
The job running on runner GitHub Actions 1 has exceeded the maximum execution time of 360 minutes.
Build and test (3.12-dev, x64)
The operation was canceled.
Build and test (3.10, x64)
The job running on runner GitHub Actions 17 has exceeded the maximum execution time of 360 minutes.
Build and test (3.10, x64)
The operation was canceled.
Build and test (3.11, x86)
The job running on runner GitHub Actions 20 has exceeded the maximum execution time of 360 minutes.
Build and test (3.11, x86)
The operation was canceled.
Build and test (3.10, x86)
The job running on runner GitHub Actions 18 has exceeded the maximum execution time of 360 minutes.
Build and test (3.10, x86)
The operation was canceled.
Build and test (3.12-dev, x86)
The job running on runner GitHub Actions 10 has exceeded the maximum execution time of 360 minutes.
Build and test (3.12-dev, x86)
The operation was canceled.
Build and test (3.7, x86)
The job running on runner GitHub Actions 14 has exceeded the maximum execution time of 360 minutes.
Build and test (3.7, x86)
The operation was canceled.
Build and test (3.7, x64)
The job running on runner GitHub Actions 15 has exceeded the maximum execution time of 360 minutes.
Build and test (3.7, x64)
The operation was canceled.
Build and test (3.8, x86)
The job running on runner GitHub Actions 11 has exceeded the maximum execution time of 360 minutes.
Build and test (3.8, x86)
The operation was canceled.
Build and test (3.8, x64)
The job running on runner GitHub Actions 8 has exceeded the maximum execution time of 360 minutes.
Build and test (3.8, x64)
The operation was canceled.
Build and test (3.9, x64)
The job running on runner GitHub Actions 12 has exceeded the maximum execution time of 360 minutes.
Build and test (3.9, x64)
The operation was canceled.
Build and test (3.9, x86)
The job running on runner GitHub Actions 7 has exceeded the maximum execution time of 360 minutes.
Build and test (3.9, x86)
The operation was canceled.
pyright (3.8): pywin32_postinstall.py#L99
Condition will always evaluate to False since the types "TextIO" and "None" have no overlap (reportUnnecessaryComparison)
pyright (3.8): pywin32_postinstall.py#L248
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.8): pywin32_postinstall.py#L527
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.8): pywin32_postinstall.py#L531
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.8): pywin32_postinstall.py#L747
"argparse" is not defined (reportUndefinedVariable)
pyright (3.8): setup.py#L1119
"install_lib" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.8): AutoDuck/BuildHHP.py#L116
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
pyright (3.8): AutoDuck/BuildHHP.py#L117
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.8): AutoDuck/BuildHHP.py#L119
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.8): AutoDuck/Dump2HHC.py#L82
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
pyright (3.7): pywin32_postinstall.py#L99
Condition will always evaluate to False since the types "TextIO" and "None" have no overlap (reportUnnecessaryComparison)
pyright (3.7): pywin32_postinstall.py#L248
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.7): pywin32_postinstall.py#L527
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.7): pywin32_postinstall.py#L531
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.7): pywin32_postinstall.py#L747
"argparse" is not defined (reportUndefinedVariable)
pyright (3.7): setup.py#L1119
"install_lib" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.7): AutoDuck/BuildHHP.py#L116
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
pyright (3.7): AutoDuck/BuildHHP.py#L117
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.7): AutoDuck/BuildHHP.py#L119
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.7): AutoDuck/Dump2HHC.py#L82
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
pyright (3.11): pywin32_postinstall.py#L99
Condition will always evaluate to False since the types "TextIO" and "None" have no overlap (reportUnnecessaryComparison)
pyright (3.11): pywin32_postinstall.py#L248
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.11): pywin32_postinstall.py#L527
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.11): pywin32_postinstall.py#L531
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.11): pywin32_postinstall.py#L747
"argparse" is not defined (reportUndefinedVariable)
pyright (3.11): setup.py#L1119
"install_lib" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.11): AutoDuck/BuildHHP.py#L116
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
pyright (3.11): AutoDuck/BuildHHP.py#L117
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.11): AutoDuck/BuildHHP.py#L119
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.11): AutoDuck/Dump2HHC.py#L82
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
pyright (3.10): pywin32_postinstall.py#L99
Condition will always evaluate to False since the types "TextIO" and "None" have no overlap (reportUnnecessaryComparison)
pyright (3.10): pywin32_postinstall.py#L248
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.10): pywin32_postinstall.py#L527
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.10): pywin32_postinstall.py#L531
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.10): pywin32_postinstall.py#L747
"argparse" is not defined (reportUndefinedVariable)
pyright (3.10): setup.py#L1119
"install_lib" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.10): AutoDuck/BuildHHP.py#L116
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
pyright (3.10): AutoDuck/BuildHHP.py#L117
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.10): AutoDuck/BuildHHP.py#L119
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.10): AutoDuck/Dump2HHC.py#L82
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
pyright (3.9): pywin32_postinstall.py#L99
Condition will always evaluate to False since the types "TextIO" and "None" have no overlap (reportUnnecessaryComparison)
pyright (3.9): pywin32_postinstall.py#L248
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.9): pywin32_postinstall.py#L527
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.9): pywin32_postinstall.py#L531
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.9): pywin32_postinstall.py#L747
"argparse" is not defined (reportUndefinedVariable)
pyright (3.9): setup.py#L1119
"install_lib" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.9): AutoDuck/BuildHHP.py#L116
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
pyright (3.9): AutoDuck/BuildHHP.py#L117
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.9): AutoDuck/BuildHHP.py#L119
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.9): AutoDuck/Dump2HHC.py#L82
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
pyright (3.12): pywin32_postinstall.py#L99
Condition will always evaluate to False since the types "TextIO" and "None" have no overlap (reportUnnecessaryComparison)
pyright (3.12): pywin32_postinstall.py#L248
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.12): pywin32_postinstall.py#L527
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.12): pywin32_postinstall.py#L531
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.12): pywin32_postinstall.py#L747
"argparse" is not defined (reportUndefinedVariable)
pyright (3.12): setup.py#L1119
"install_lib" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.12): AutoDuck/BuildHHP.py#L116
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
pyright (3.12): AutoDuck/BuildHHP.py#L117
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.12): AutoDuck/BuildHHP.py#L119
"output_dir" is possibly unbound (reportUnboundVariable)
pyright (3.12): AutoDuck/Dump2HHC.py#L82
Object of type "None" cannot be used as iterable value (reportOptionalIterable)
Build and test (3.11, x64)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.
Build and test (3.12-dev, x64)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.
Build and test (3.10, x64)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.
Build and test (3.11, x86)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.
Build and test (3.10, x86)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.
Build and test (3.12-dev, x86)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.
Build and test (3.7, x86)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.
Build and test (3.7, x64)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.
Build and test (3.8, x86)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.
Build and test (3.8, x64)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.
Build and test (3.9, x64)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.
Build and test (3.9, x86)
No files were found with the provided path: dist/*.whl dist/*.exe. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
artifacts Expired
22.8 MB