add the prepare for spin case #263
Annotations
10 errors and 6 warnings
Run jakebailey/pyright-action@v1:
examples/abacus/preprunvasp.py#L55
Argument of type "type[PrepAbacus]" cannot be assigned to parameter "prep_op" of type "OP" in function "__init__"
"type[ABCMeta]" is not assignable to "type[OP]" (reportArgumentType)
|
Run jakebailey/pyright-action@v1:
examples/abacus/preprunvasp.py#L56
Argument of type "type[RunAbacus]" cannot be assigned to parameter "run_op" of type "OP" in function "__init__"
"type[ABCMeta]" is not assignable to "type[OP]" (reportArgumentType)
|
Run jakebailey/pyright-action@v1:
examples/vasp/preprunvasp.py#L55
Argument of type "type[PrepVasp]" cannot be assigned to parameter "prep_op" of type "OP" in function "__init__"
"type[ABCMeta]" is not assignable to "type[OP]" (reportArgumentType)
|
Run jakebailey/pyright-action@v1:
examples/vasp/preprunvasp.py#L56
Argument of type "type[RunVasp]" cannot be assigned to parameter "run_op" of type "OP" in function "__init__"
"type[ABCMeta]" is not assignable to "type[OP]" (reportArgumentType)
|
Run jakebailey/pyright-action@v1:
fpop/prep_fp.py#L87
Method "execute" overrides class "OP" in an incompatible manner
Parameter 2 name mismatch: base parameter is named "op_in", override parameter is named "ip" (reportIncompatibleMethodOverride)
|
Run jakebailey/pyright-action@v1:
fpop/preprun_fp.py#L147
Argument of type "List[str] | None" cannot be assigned to parameter "python_packages" of type "List[PathLike[Unknown]] | None" in function "__init__"
Type "List[str] | None" is not assignable to type "List[PathLike[Unknown]] | None"
Type "List[str]" is not assignable to type "List[PathLike[Unknown]] | None"
"List[str]" is not assignable to "List[PathLike[Unknown]]"
Type parameter "_T@list" is invariant, but "str" is not the same as "PathLike[Unknown]"
Consider switching from "list" to "Sequence" which is covariant
"List[str]" is not assignable to "None" (reportArgumentType)
|
Run jakebailey/pyright-action@v1:
fpop/preprun_fp.py#L178
Argument of type "List[str] | None" cannot be assigned to parameter "python_packages" of type "List[PathLike[Unknown]] | None" in function "__init__"
Type "List[str] | None" is not assignable to type "List[PathLike[Unknown]] | None"
Type "List[str]" is not assignable to type "List[PathLike[Unknown]] | None"
"List[str]" is not assignable to "List[PathLike[Unknown]]"
Type parameter "_T@list" is invariant, but "str" is not the same as "PathLike[Unknown]"
Consider switching from "list" to "Sequence" which is covariant
"List[str]" is not assignable to "None" (reportArgumentType)
|
Run jakebailey/pyright-action@v1:
fpop/run_fp.py#L110
Method "execute" overrides class "OP" in an incompatible manner
Parameter 2 name mismatch: base parameter is named "op_in", override parameter is named "ip" (reportIncompatibleMethodOverride)
|
Run jakebailey/pyright-action@v1:
fpop/vasp.py#L155
Method "prep_task" overrides class "PrepFp" in an incompatible manner
Parameter 3 name mismatch: base parameter is named "inputs", override parameter is named "vasp_inputs" (reportIncompatibleMethodOverride)
|
Run jakebailey/pyright-action@v1:
tests/constants.py#L75
Cannot access attribute "to_deepmd_npy" for class "System"
Attribute "to_deepmd_npy" is unknown (reportAttributeAccessIssue)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4, jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run jakebailey/pyright-action@v1:
tests/test_prep_run_vasp.py#L94
Expression value is unused (reportUnusedExpression)
|
Run jakebailey/pyright-action@v1:
tests/test_run_abacus.py#L5
Import "mock" could not be resolved from source (reportMissingModuleSource)
|
Run jakebailey/pyright-action@v1:
tests/test_run_abacus.py#L5
Import "mock.mock" could not be resolved from source (reportMissingModuleSource)
|
Run jakebailey/pyright-action@v1:
tests/test_run_vasp.py#L5
Import "mock" could not be resolved from source (reportMissingModuleSource)
|
Run jakebailey/pyright-action@v1:
tests/test_run_vasp.py#L5
Import "mock.mock" could not be resolved from source (reportMissingModuleSource)
|
Loading