Fix(UT): fix type checker error raised by pyright #251
Annotations
3 errors and 6 warnings
fpop/preprun_fp.py#L148
Argument of type "List[Path] | List[str] | None" cannot be assigned to parameter "python_packages" of type "List[PathLike[Unknown]] | None" in function "__init__" (reportArgumentType)
|
fpop/preprun_fp.py#L179
Argument of type "List[Path] | List[str] | None" cannot be assigned to parameter "python_packages" of type "List[PathLike[Unknown]] | None" in function "__init__" (reportArgumentType)
|
|
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/.
|
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)
|
This job failed
Loading