(False positive) Method expected to be 'property', found it instead as 'method'. #4023
Labels
Bug 🪲
False Positive 🦟
A message is emitted but nothing is wrong with the code
Good first issue
Friendly and approachable by new contributors
Help wanted 🙏
Outside help would be appreciated, good for new contributors
Steps to reproduce
@property
decorator on one of it`s field methods.@cached_property
decorator.Please refer to image below
Current behavior
Error message is triggered.
Method 'test_property' was expected to be 'property', found it instead as 'method'
Expected behavior
No error should be displayed, since
@cached_property
should still be a propertypylint --version output
pilyint 2.5.2
astroid 1.4.1
Python 3.8.0 (default, Nov 23 2019, 05:49:00)
[GCC 8.3.0]
The text was updated successfully, but these errors were encountered: