ALPGM icon indicating copy to clipboard operation
ALPGM copied to clipboard

Consider using in PYL-R1714

Open JordiBolibar opened this issue 4 years ago • 0 comments

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, less verbose, and more readable.

https://deepsource.io/gh/JordiBolibar/ALPGM/issue/PYL-R1714/description

JordiBolibar avatar Mar 28 '20 16:03 JordiBolibar