not-an-iterable false positive with decorator #9251
Labels
Decorators
Duplicate 🐫
Duplicate of an already existing issue
False Positive 🦟
A message is emitted but nothing is wrong with the code
Bug description
This reproducer uses a decorator to make a normal function an infinite iterable, sadly pylint don't get it:
Configuration
No response
Command used
Pylint output
Expected behavior
The decorator actually replace the function with an iterable, so pylint should not tell it's not.
Pylint version
OS / Environment
Debian Trixie
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: