---
source: crates/ruff/src/rules/pylint/mod.rs
---
collapsible_else_if.py:38:9: PLR5501 Consider using `elif` instead of `else` then `if` to remove one indentation level
   |
38 |           pass
39 |       else:
40 |           if 2:
   |  _________^
41 | |             pass
   | |________________^ PLR5501
   |

collapsible_else_if.py:46:9: PLR5501 Consider using `elif` instead of `else` then `if` to remove one indentation level
   |
46 |           pass
47 |       else:
48 |           if 2:
   |  _________^
49 | |             pass
50 | |         else:
51 | |             pass
   | |________________^ PLR5501
   |


