Skip to content

add the prepare for spin case #261

add the prepare for spin case

add the prepare for spin case #261

Re-run triggered September 21, 2024 02:15
Status Failure
Total duration 1m 24s
Artifacts

pyright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
pyright: 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)
pyright: 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)
pyright: 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)
pyright: 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)
pyright: fpop/abacus.py#L523
Method "prep_task" overrides class "PrepFp" in an incompatible manner   Parameter 3 name mismatch: base parameter is named "inputs", override parameter is named "abacus_inputs" (reportIncompatibleMethodOverride)
pyright: 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)
pyright: 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)
pyright: 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)
pyright: 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)
pyright: 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)
pyright
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/
pyright: tests/test_prep_run_vasp.py#L94
Expression value is unused (reportUnusedExpression)
pyright: tests/test_run_abacus.py#L5
Import "mock" could not be resolved from source (reportMissingModuleSource)
pyright: tests/test_run_abacus.py#L5
Import "mock.mock" could not be resolved from source (reportMissingModuleSource)
pyright: tests/test_run_vasp.py#L5
Import "mock" could not be resolved from source (reportMissingModuleSource)
pyright: tests/test_run_vasp.py#L5
Import "mock.mock" could not be resolved from source (reportMissingModuleSource)