Skip to content

Basic type-checking with mypy and pyright #947

Basic type-checking with mypy and pyright

Basic type-checking with mypy and pyright #947

Triggered via pull request November 1, 2023 20:09
Status Cancelled
Total duration 5h 31m 25s
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

42 errors and 72 warnings
checkers
Process completed with exit code 1.
mypy (3.10)
Process completed with exit code 1.
mypy (3.11)
Process completed with exit code 1.
mypy (3.12)
Process completed with exit code 1.
mypy (3.9)
Process completed with exit code 1.
mypy (3.8)
Process completed with exit code 1.
pyright (3.12): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.12)
1 error
pyright (3.10): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.10)
1 error
pyright (3.11): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.11)
1 error
pyright (3.7): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.7)
1 error
pyright (3.8): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.8)
1 error
pyright (3.9): Pythonwin/pywin/tools/browseProjects.py#L43
Operator "+" not supported for "None" (reportOptionalOperand)
pyright (3.9)
1 error
Build and test (3.9, x64)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.9, x64)
The operation was canceled.
Build and test (3.7, x64)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.7, x64)
The operation was canceled.
Build and test (3.8, x86)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.8, x86)
The operation was canceled.
Build and test (3.11, x64)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.9, x86)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.11, x64)
The operation was canceled.
Build and test (3.9, x86)
The operation was canceled.
Build and test (3.7, x86)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.7, x86)
The operation was canceled.
Build and test (3.12-dev, x64)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.12-dev, x64)
The operation was canceled.
Build and test (3.12-dev, x86)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.12-dev, x86)
The operation was canceled.
Build and test (3.11, x86)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.10, x86)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.11, x86)
The operation was canceled.
Build and test (3.10, x86)
The operation was canceled.
Build and test (3.8, x64)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.8, x64)
The operation was canceled.
Build and test (3.10, x64)
Canceling since a higher priority waiting request for 'CI-basic-type-checking' exists
Build and test (3.10, x64)
The operation was canceled.
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#L246
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.12): pywin32_postinstall.py#L525
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.12): pywin32_postinstall.py#L529
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.12): pywin32_postinstall.py#L745
"argparse" is not defined (reportUndefinedVariable)
pyright (3.12): setup.py#L1120
"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)
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#L246
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.10): pywin32_postinstall.py#L525
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.10): pywin32_postinstall.py#L529
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.10): pywin32_postinstall.py#L745
"argparse" is not defined (reportUndefinedVariable)
pyright (3.10): setup.py#L1120
"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.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#L246
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.11): pywin32_postinstall.py#L525
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.11): pywin32_postinstall.py#L529
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.11): pywin32_postinstall.py#L745
"argparse" is not defined (reportUndefinedVariable)
pyright (3.11): setup.py#L1120
"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.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#L246
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.7): pywin32_postinstall.py#L525
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.7): pywin32_postinstall.py#L529
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.7): pywin32_postinstall.py#L745
"argparse" is not defined (reportUndefinedVariable)
pyright (3.7): setup.py#L1120
"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.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#L246
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.8): pywin32_postinstall.py#L525
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.8): pywin32_postinstall.py#L529
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.8): pywin32_postinstall.py#L745
"argparse" is not defined (reportUndefinedVariable)
pyright (3.8): setup.py#L1120
"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.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#L246
"exec_module" is not a known member of "None" (reportOptionalMemberAccess)
pyright (3.9): pywin32_postinstall.py#L525
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.9): pywin32_postinstall.py#L529
"dst" is possibly unbound (reportUnboundVariable)
pyright (3.9): pywin32_postinstall.py#L745
"argparse" is not defined (reportUndefinedVariable)
pyright (3.9): setup.py#L1120
"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)
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.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.11, 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.
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.12-dev, x64)
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.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.8, 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.

Artifacts

Produced during runtime
Name Size
artifacts Expired
22.8 MB