Explanation
Most of the discussion of the motivation about this rule can be found in this very detailed StackOverflow post
Example
# Bad
key in dict.keys()
# Good
key in dict
Basically, the later way of doing this pythonic and slightly more performant and arguably more Readable. The previous method only exists for legacy code (<= python 2.2). So there is no reason to use the former in modern codebases.