Describe the bug
False positive pylint no-member reported due to Prospector overriding sys.stdout with a CaptureStream instance.
To Reproduce
- Have some code that checks for
sys.stdout.isatty()
- Call prospector so that it runs pylint
- Get as error:
pylint: no-member / Instance of 'CaptureStream' has no 'isatty' member (col 15)
Expected behavior
No error is reported
Environment
- OS: macOS Sonoma
- Tool pylint
- Prospector version 1.12.0
- Python version 3.11 (reproduced also with 3.9)