configure ruff #780
Triggered via pull request
September 11, 2024 18:39
Status
Failure
Total duration
1m 14s
Artifacts
–
Annotations
4 errors
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
3 errors
|