Add ParameterMixin for extending parameter functionality #6731
Annotations
10 errors and 1 warning
Run jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe:
src/qcodes/parameters/parameter_mixin.py#L143
"parameter_base_leaf" is possibly unbound (reportPossiblyUnboundVariable)
|
Run jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe:
src/qcodes/parameters/parameter_mixin.py#L174
"parameter_base_leaf" is possibly unbound (reportPossiblyUnboundVariable)
|
Run jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe:
tests/parameter/test_parameter_mixin.py#L63
Type "_COMPATIBLE_BASES" is not assignable to declared type "List[type[ParameterBase]]"
Type "type[CompatibleParameter]" is not assignable to type "List[type[ParameterBase]]" (reportAssignmentType)
|
Run jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe:
tests/parameter/test_parameter_mixin.py#L70
Type "_INCOMPATIBLE_BASES" is not assignable to declared type "List[type[ParameterBase]]"
Type "type[IncompatibleParameter]" is not assignable to type "List[type[ParameterBase]]" (reportAssignmentType)
|
Run jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe:
tests/parameter/test_parameter_mixin.py#L92
Base classes for class "CombinedParameter" define variable "name" in incompatible way (reportIncompatibleVariableOverride)
|
Run jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe:
tests/parameter/test_parameter_mixin.py#L92
Base classes for class "CombinedParameter" define variable "instrument" in incompatible way (reportIncompatibleVariableOverride)
|
Run jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe:
tests/parameter/test_parameter_mixin.py#L96
Operator "in" not supported for types "Literal['This Parameter has been extended by the following …']" and "str | None"
Operator "in" not supported for types "Literal['This Parameter has been extended by the following …']" and "None" (reportOperatorIssue)
|
Run jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe:
tests/parameter/test_parameter_mixin.py#L97
Operator "in" not supported for types "Literal['BaseParameter']" and "str | None"
Operator "in" not supported for types "Literal['BaseParameter']" and "None" (reportOperatorIssue)
|
Run jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe:
tests/parameter/test_parameter_mixin.py#L98
Operator "in" not supported for types "Literal['Base Parameter Documentation.']" and "str | None"
Operator "in" not supported for types "Literal['Base Parameter Documentation.']" and "None" (reportOperatorIssue)
|
Run jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe:
tests/parameter/test_parameter_mixin.py#L99
Operator "in" not supported for types "Literal['A_ParameterMixin']" and "str | None"
Operator "in" not supported for types "Literal['A_ParameterMixin']" and "None" (reportOperatorIssue)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading