You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. <!--more--> ## Examples ### Bad …
Occurrences
There are 2 occurrences of this issue in the repository.
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, less verbose, and more readable. <!--more--> ## Examples ### Bad …Occurrences
There are 2 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/mikeysan/aixingBot/issue/PYL-R1714/occurrences/
The text was updated successfully, but these errors were encountered: