(expr: Expression)
| 487 | |
| 488 | |
| 489 | def parse_bool(expr: Expression) -> bool | None: |
| 490 | if isinstance(expr, NameExpr): |
| 491 | if expr.fullname == "builtins.True": |
| 492 | return True |
| 493 | if expr.fullname == "builtins.False": |
| 494 | return False |
| 495 | return None |
no test coverage detected
searching dependent graphs…