Skip to content

configure ruff

configure ruff #780

Triggered via pull request September 11, 2024 18:39
@njzjznjzjz
synchronize #260
njzjz:ruff
Status Failure
Total duration 1m 14s
Artifacts

pyright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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