consider-ternary-expression / W0160ΒΆ
Message emitted:
Consider rewriting as a ternary expression
Description:
Multiple assign statements spread across if/else blocks can be rewritten with a single assignment and ternary expression
Created by consider_ternary_expression
checker