configure ruff #770
Annotations
10 errors
pyright:
dpgen2/exploration/render/traj_render.py#L34
"Union" is not defined (reportUndefinedVariable)
|
pyright:
dpgen2/exploration/render/traj_render.py#L52
"Union" is not defined (reportUndefinedVariable)
|
pyright:
dpgen2/exploration/render/traj_render_lammps.py#L49
"Union" is not defined (reportUndefinedVariable)
|
pyright:
dpgen2/exploration/render/traj_render_lammps.py#L102
"Union" is not defined (reportUndefinedVariable)
|
pyright:
dpgen2/flow/dpgen_loop.py#L446
Argument of type "bool" cannot be assigned to parameter "_if" of type "str | ArgoVar" in function "if_expression"
Type "bool" cannot be assigned to type "str | ArgoVar"
"bool" is incompatible with "str"
"bool" is incompatible with "ArgoVar" (reportGeneralTypeIssues)
|
pyright:
dpgen2/flow/dpgen_loop.py#L451
Argument of type "bool" cannot be assigned to parameter "_if" of type "str | ArgoVar" in function "if_expression"
Type "bool" cannot be assigned to type "str | ArgoVar"
"bool" is incompatible with "str"
"bool" is incompatible with "ArgoVar" (reportGeneralTypeIssues)
|
pyright:
dpgen2/flow/dpgen_loop.py#L456
Argument of type "bool" cannot be assigned to parameter "_if" of type "str | ArgoVar" in function "if_expression"
Type "bool" cannot be assigned to type "str | ArgoVar"
"bool" is incompatible with "str"
"bool" is incompatible with "ArgoVar" (reportGeneralTypeIssues)
|
pyright:
dpgen2/fp/vasp.py#L167
"np" is not defined (reportUndefinedVariable)
|
pyright:
dpgen2/fp/vasp.py#L170
"np" is not defined (reportUndefinedVariable)
|
pyright:
dpgen2/op/run_caly_model_devi.py#L283
Cannot access member "randint" for type "Generator"
Member "randint" is unknown (reportGeneralTypeIssues)
|