Skip to content

Enable pyright

Enable pyright #350

Triggered via pull request June 8, 2025 12:44
Status Cancelled
Total duration 3m 16s
Artifacts

ci.yml

on: pull_request
Matrix: downstream_tests
Matrix: pytest
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 7 warnings
basedpyright: codepy/libraries.py#L154
Import "pybind11" could not be resolved (reportMissingImports)
basedpyright
1 error
basedpyright
Process completed with exit code 1.
Tests for downstream project loopy
Canceling since a higher priority waiting request for 'basedpyright' exists
Tests for downstream project loopy
The operation was canceled.
Ruff
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
Pytest on Py3.10
The 'platform_version' input is unset. This may lead to inconsistent build results.
Pytest on Py3.12
The 'platform_version' input is unset. This may lead to inconsistent build results.
basedpyright: codepy/bpl.py#L129
Condition will always evaluate to False since the types "str" and "None" have no overlap (reportUnnecessaryComparison)
basedpyright: codepy/libraries.py#L158
Argument type is partially unknown   Argument corresponds to parameter "include_dirs" in function "add_library"   Argument type is "list[Unknown]" (reportUnknownArgumentType)
basedpyright: codepy/libraries.py#L158
Type of "get_include" is unknown (reportUnknownMemberType)
Pytest on Py3.x
The 'platform_version' input is unset. This may lead to inconsistent build results.