else-if-used / R5501#
Message emitted:
Consider using "elif" instead of "else" then "if" to remove one indentation level
Description:
Used when an else statement is immediately followed by an if statement and does not contain statements that would be unrelated to it.
Correct code:
# This is a placeholder for correct code for this message.
Additional details:
You can help us make the doc better by contributing !
Note
This message is emitted by the optional 'else_if_used' checker which requires the pylint.extensions.check_elif
plugin to be loaded.
Created by the else_if_used checker.