Fpop support for CP2K #232
Annotations
10 errors and 8 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 incompatible with "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 incompatible with "type[OP]" (reportArgumentType)
|
pyright:
examples/cp2k/prepruncp2k.py#L55
Argument of type "type[PrepCp2k]" cannot be assigned to parameter "prep_op" of type "OP" in function "__init__"
"type[ABCMeta]" is incompatible with "type[OP]" (reportArgumentType)
|
pyright:
examples/cp2k/prepruncp2k.py#L56
Argument of type "type[RunCp2k]" cannot be assigned to parameter "run_op" of type "OP" in function "__init__"
"type[ABCMeta]" is incompatible with "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 incompatible with "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 incompatible with "type[OP]" (reportArgumentType)
|
pyright:
fpop/abacus.py#L517
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/abacus.py#L639
Argument of type "bool" cannot be assigned to parameter "input" of type "str | None" in function "run_command"
Type "bool" is incompatible with type "str | None"
"bool" is incompatible with "str"
"bool" is incompatible with "None" (reportArgumentType)
|
pyright:
fpop/cp2k.py#L4
Import "ase.io" could not be resolved (reportMissingImports)
|
pyright:
fpop/cp2k.py#L74
Method "prep_task" overrides class "PrepFp" in an incompatible manner
Parameter 3 name mismatch: base parameter is named "inputs", override parameter is named "cp2k_inputs" (reportIncompatibleMethodOverride)
|
pyright
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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_cp2k.py#L5
Import "mock" could not be resolved from source (reportMissingModuleSource)
|
pyright:
tests/test_run_cp2k.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)
|