---
source: crates/ruff_linter/src/rules/pylint/mod.rs
---
PLW0101 Unreachable code in `after_return`
  --> unreachable.py:18:5
   |
16 |   def after_return():
17 |       return 1
18 | /     print("unreachable")
19 | |     print("and this")
   | |_____________________^
20 |
21 |   def after_raise():
   |

PLW0101 Unreachable code in `after_raise`
  --> unreachable.py:23:5
   |
21 |   def after_raise():
22 |       raise ValueError
23 | /     print("unreachable")
24 | |     print("and this")
   | |_____________________^
25 |
26 |   def multiple_returns():
   |

PLW0101 Unreachable code in `multiple_returns`
  --> unreachable.py:28:5
   |
26 |   def multiple_returns():
27 |       return 1
28 | /     print("unreachable")
29 | |     return 2
30 | |     print("unreachable range should include above return")
   | |__________________________________________________________^
   |
