consider-using-in / R1714ΒΆ
Message emitted:
Consider merging these comparisons with "in" to %r
Description:
To check if a variable is equal to one of many values,combine the values into a tuple and check if the variable is contained "in" it instead of checking for equality against each of the values.This is faster and less verbose.
Created by refactoring
checker