ci: Enable mypy static type checking and reslove errors #194
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
10 errors
|
lint: mypy:
fms_mo/utils/utils.py#L242
Returning Any from function declared to return "tuple[Any, ...] | list[Any] | Tensor | dict[str, Any]" [no-any-return]
|
|
lint: mypy:
fms_mo/quant/quantizers.py#L3919
Incompatible types in assignment (expression has type "Tensor", variable has type "float") [assignment]
|
|
lint: mypy:
fms_mo/quant/quantizers.py#L3920
Incompatible types in assignment (expression has type "Tensor", variable has type "int") [assignment]
|
|
lint: mypy:
fms_mo/quant/quantizers.py#L3923
Unsupported target for indexed assignment ("float") [index]
|
|
lint: mypy:
fms_mo/quant/quantizers.py#L3923
Unsupported target for indexed assignment ("int") [index]
|
|
lint: mypy:
fms_mo/quant/quantizers.py#L3927
"float" has no attribute "view" [attr-defined]
|
|
lint: mypy:
fms_mo/quant/quantizers.py#L3928
"int" has no attribute "view" [attr-defined]
|
|
lint: mypy:
fms_mo/quant/quantizers.py#L3930
"float" has no attribute "view" [attr-defined]
|
|
lint: mypy:
fms_mo/quant/quantizers.py#L3931
"int" has no attribute "view" [attr-defined]
|
|
lint: mypy:
fms_mo/quant/quantizers.py#L3935
Incompatible types in assignment (expression has type "int | float", variable has type "Tensor") [assignment]
|