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
It might be because this needs to be activated explicitly (it's an extension). The conversation is long but should clear up the reasoning behind the use-set-for-membership message that was added alongside it.
Only for style consistency! Emitted where an in-place defined list can be replaced by a tuple. Due to optimizations by CPython, there is no performance benefit from it.
https://pylint.pycqa.org/en/latest/messages/refactor/consider-using-tuple.html
There was a discussion about the performance benefits and we concluded that it's a style check and not a performance check. Feel free to chime in :)
For reference I'm trying to integrate the check in pylint here: pylint-dev/pylint#6078
The text was updated successfully, but these errors were encountered: