Closed mxr closed 2 years ago
See rationale here
This change would update the error message as follows:
- SIM109 Use 'a in [b, c]' instead of 'a == b or a == c' + SIM109 Use 'a in (b, c)' instead of 'a == b or a == c'
@mxr Thank you for the suggestion! I've added it in flake8-simplify==0.14.4 :-)
flake8-simplify==0.14.4
Desired change
Explanation
See rationale here
Example
This change would update the error message as follows: