Stokes/Elasticity using biharmonic/Laplace #162
Annotations
10 errors and 10 warnings
|
Main Script:
pytential/symbolic/elasticity.py#L761
"__setitem__" method not defined on type "ObjectArray1D[int]" (reportIndexIssue)
|
|
Main Script:
pytential/symbolic/elasticity.py#L759
"__setitem__" method not defined on type "ObjectArray1D[int]" (reportIndexIssue)
|
|
Main Script:
pytential/symbolic/elasticity.py#L743
"__setitem__" method not defined on type "ObjectArray1D[int]" (reportIndexIssue)
|
|
Main Script:
pytential/symbolic/elasticity.py#L742
"__setitem__" method not defined on type "ObjectArray1D[int]" (reportIndexIssue)
|
|
Main Script:
pytential/symbolic/elasticity.py#L508
Type "ObjectArray[tuple[int], ArithmeticExpression] | Literal[0]" is not assignable to return type "VectorExpression"
Type "ObjectArray[tuple[int], ArithmeticExpression] | Literal[0]" is not assignable to type "VectorExpression"
"Literal[0]" is not assignable to "ObjectArray[tuple[int], ArithmeticExpression]" (reportReturnType)
|
|
Main Script:
pytential/symbolic/elasticity.py#L479
Argument of type "_Array[tuple[int], Incomplete]" cannot be assigned to parameter "exprs" of type "Sequence[ArithmeticExpression]" in function "rewrite_using_base_kernel"
"ndarray[tuple[int], dtype[Incomplete]]" is not assignable to "Sequence[ArithmeticExpression]" (reportArgumentType)
|
|
Main Script:
pytential/symbolic/elasticity.py#L478
Type "NDArray[Any]" is not assignable to return type "VectorExpression"
"ndarray[_AnyShape, dtype[Any]]" is not assignable to "ObjectArray[tuple[int], ArithmeticExpression]" (reportReturnType)
|
|
Main Script:
pytential/symbolic/elasticity.py#L333
Argument of type "_Array[tuple[int], Incomplete]" cannot be assigned to parameter "exprs" of type "Sequence[ArithmeticExpression]" in function "rewrite_using_base_kernel"
"ndarray[tuple[int], dtype[Incomplete]]" is not assignable to "Sequence[ArithmeticExpression]" (reportArgumentType)
|
|
Main Script:
pytential/symbolic/elasticity.py#L332
Type "NDArray[Any]" is not assignable to return type "VectorExpression"
"ndarray[_AnyShape, dtype[Any]]" is not assignable to "ObjectArray[tuple[int], ArithmeticExpression]" (reportReturnType)
|
|
Main Script:
pytential/symbolic/elasticity.py#L259
Argument of type "dict[str, ArithmeticExpression]" cannot be assigned to parameter "kernel_arguments" of type "KernelArgumentLike | None" in function "int_g_vec"
Type "dict[str, ArithmeticExpression]" is not assignable to type "KernelArgumentLike | None"
"dict[str, ArithmeticExpression]" is not assignable to "dict[str, Operand]"
Type parameter "_VT@dict" is invariant, but "ArithmeticExpression" is not the same as "Operand"
Consider switching from "dict" to "Mapping" which is covariant in the value type
"dict[str, ArithmeticExpression]" is not assignable to "tuple[tuple[str, Operand], ...]"
"dict[str, ArithmeticExpression]" is not assignable to "None" (reportArgumentType)
|
|
Main Script:
pytential/symbolic/pde/system_utils.py#L131
Type of parameter "base_kernel" is unknown (reportUnknownParameterType)
|
|
Main Script:
pytential/symbolic/pde/system_utils.py#L49
Type of "chop" is partially unknown
Type of "chop" is "(expr: Basic, tol: Unknown) -> Basic" (reportUnknownVariableType)
|
|
Main Script:
pytential/symbolic/mappers.py#L386
Type annotation is missing for parameter "expr" (reportMissingParameterType)
|
|
Main Script:
pytential/symbolic/mappers.py#L386
Method "map_int_g" is not marked as override but is overriding a method in class "IdentityMapper" (reportImplicitOverride)
|
|
Main Script:
pytential/symbolic/elasticity.py#L770
"DEFAULT_DOFDESC" is not exported from module "pytential.symbolic.primitives" (reportPrivateLocalImportUsage)
|
|
Main Script:
pytential/symbolic/elasticity.py#L769
"DEFAULT_DOFDESC" is not exported from module "pytential.symbolic.primitives" (reportPrivateLocalImportUsage)
|
|
Main Script:
pytential/symbolic/elasticity.py#L750
"DEFAULT_DOFDESC" is not exported from module "pytential.symbolic.primitives" (reportPrivateLocalImportUsage)
|
|
Main Script:
pytential/symbolic/elasticity.py#L749
"DEFAULT_DOFDESC" is not exported from module "pytential.symbolic.primitives" (reportPrivateLocalImportUsage)
|
|
Main Script:
pytential/symbolic/elasticity.py#L627
Code is unreachable (reportUnreachable)
|
|
Main Script:
pytential/symbolic/elasticity.py#L594
Code is unreachable (reportUnreachable)
|
Loading