consider-ternary-expression / W0160#
Consider rewriting as a ternary expression
Multiple assign statements spread across if/else blocks can be rewritten with a single assignment and ternary expression
# This is a placeholder for correct code for this message.
You can help us make the doc better by contributing !
This message is emitted by the optional 'consider_ternary_expression' checker which requires the
plugin to be loaded.
Created by the consider_ternary_expression checker.