fix: pyright error: Type "floating[Any]" is not assignable to return … #26
Annotations
2 errors and 1 warning
pyright:
dpdata/system.py#L1052
Argument of type "numpy.bool[builtins.bool] | NDArray[numpy.bool[builtins.bool]]" cannot be assigned to parameter "idx" of type "int | Integral | list[int] | slice | ndarray[Unknown, Unknown]" in function "pick_atom_idx" (reportArgumentType)
|
pyright
1 error
|
pyright
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|