add the prepare for spin case #29
Open
Annotations
10 errors and 5 warnings
|
examples/abacus/preprunvasp.py#L55
Argument of type "type[PrepAbacus]" cannot be assigned to parameter "prep_op" of type "OP" in function "__init__"
Type "type[PrepAbacus]" is not assignable to type "OP" (reportArgumentType)
|
|
examples/abacus/preprunvasp.py#L56
Argument of type "type[RunAbacus]" cannot be assigned to parameter "run_op" of type "OP" in function "__init__"
Type "type[RunAbacus]" is not assignable to type "OP" (reportArgumentType)
|
|
examples/vasp/preprunvasp.py#L55
Argument of type "type[PrepVasp]" cannot be assigned to parameter "prep_op" of type "OP" in function "__init__"
Type "type[PrepVasp]" is not assignable to type "OP" (reportArgumentType)
|
|
examples/vasp/preprunvasp.py#L56
Argument of type "type[RunVasp]" cannot be assigned to parameter "run_op" of type "OP" in function "__init__"
Type "type[RunVasp]" is not assignable to type "OP" (reportArgumentType)
|
|
fpop/prep_fp.py#L88
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
tests/constants.py#L75
Cannot access attribute "to_deepmd_npy" for class "System"
Attribute "to_deepmd_npy" is unknown (reportAttributeAccessIssue)
|
|
tests/test_prep_run_vasp.py#L94
Expression value is unused (reportUnusedExpression)
|
|
tests/test_run_abacus.py#L5
Import "mock" could not be resolved from source (reportMissingModuleSource)
|
|
tests/test_run_abacus.py#L5
Import "mock.mock" could not be resolved from source (reportMissingModuleSource)
|
|
tests/test_run_vasp.py#L5
Import "mock" could not be resolved from source (reportMissingModuleSource)
|
|
tests/test_run_vasp.py#L5
Import "mock.mock" could not be resolved from source (reportMissingModuleSource)
|
The logs for this run have expired and are no longer available.
Loading