Skip to content

Hooks on matching pairs #88

Hooks on matching pairs

Hooks on matching pairs #88

Triggered via pull request October 18, 2024 04:33
@wanmokwanmok
synchronize #27
matching
Status Failure
Total duration 32s
Artifacts

python-app.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: src/metametric/dsl.py#L118
Argument of type "tuple[type[Any] | str | Any, MatchingConstraint]" cannot be assigned to parameter "config" of type "DslConfig[T@__getitem__]" in function "__getitem__"   Type "tuple[type[Any] | str | Any, MatchingConstraint]" is not assignable to type "DslConfig[T@__getitem__]"     Type "tuple[type[Any] | str | Any, MatchingConstraint]" is not assignable to type "type[T@__getitem__]"     "tuple[type[Any] | str | Any, MatchingConstraint]" is not assignable to "Tuple[type[T@__getitem__], MatchingConstraint | str]"       Tuple entry 1 is incorrect type         Type "type[Any] | str | Any" is not assignable to type "type[T@__getitem__]"     "tuple[type[Any] | str | Any, MatchingConstraint]" is not assignable to "Tuple[type[T@__getitem__], MatchingConstraint | str, Normalizer | str | None]"       Tuple size mismatch; expected 3 but received 2 (reportArgumentType)
build: src/metametric/dsl.py#L225
"normalizer_obj" is possibly unbound (reportPossiblyUnboundVariable)
build: src/metametric/dsl.py#L225
"normalizer_obj" is possibly unbound (reportPossiblyUnboundVariable)
build: src/metametric/core/_ilp.py#L135
Argument of type "type[T@LatentVariableConstraintBuilder]" cannot be assigned to parameter "class_or_instance" of type "DataclassInstance | type[DataclassInstance]" in function "fields"   Type "type[T@LatentVariableConstraintBuilder]" is not assignable to type "DataclassInstance | type[DataclassInstance]"     "__dataclass_fields__" is not present     "object*" is incompatible with protocol "DataclassInstance"     Type "type[T@LatentVariableConstraintBuilder]" is not assignable to type "type[DataclassInstance]"       "__dataclass_fields__" is not present (reportArgumentType)
build: src/metametric/core/decorator.py#L69
Argument of type "type[Any] | str | Any" cannot be assigned to parameter "cls" of type "Type[Unknown]" in function "derive_metric"   Type "type[Any] | str | Any" is not assignable to type "Type[Unknown]"     "str" is not assignable to "Type[Unknown]" (reportArgumentType)
build: src/metametric/core/metric_suite.py#L111
"state" incorrectly overrides property of same name in class "Aggregator" (reportIncompatibleMethodOverride)
build: src/metametric/core/reduction.py#L45
Method "compute" overrides class "Reduction" in an incompatible manner   Parameter 2 name mismatch: base parameter is named "agg", override parameter is named "state" (reportIncompatibleMethodOverride)
build: src/metametric/core/reduction.py#L63
Method "compute" overrides class "Reduction" in an incompatible manner   Parameter 2 name mismatch: base parameter is named "agg", override parameter is named "state" (reportIncompatibleMethodOverride)
build: src/metametric/core/reduction.py#L79
Method "compute" overrides class "Reduction" in an incompatible manner   Parameter 2 name mismatch: base parameter is named "agg", override parameter is named "state" (reportIncompatibleMethodOverride)
build: src/metametric/core/reduction.py#L93
Method "compute" overrides class "Reduction" in an incompatible manner   Parameter 2 name mismatch: base parameter is named "agg", override parameter is named "state" (reportIncompatibleMethodOverride)
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/