---
source: crates/ruff_linter/src/rules/pylint/mod.rs
---
PLW0131 Named expression used without context
 --> named_expr_without_context.py:2:2
  |
1 | # Errors
2 | (a := 42)
  |  ^^^^^^^
3 | if True:
4 |     (b := 1)
  |

PLW0131 Named expression used without context
 --> named_expr_without_context.py:4:6
  |
2 | (a := 42)
3 | if True:
4 |     (b := 1)
  |      ^^^^^^
  |

PLW0131 Named expression used without context
 --> named_expr_without_context.py:8:6
  |
7 | class Foo:
8 |     (c := 1)
  |      ^^^^^^
  |
