cached-instance-method (B019)
gives false positive when decorated method belongs to enum.Enum
#9912
Labels
rule
Implementing or modifying a lint rule
What do you think about the following edge case? I believe this should not be reported, since Enum members are typically low cardinality and are not garbage collected anyway.
The text was updated successfully, but these errors were encountered: