You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: I built this SSCCE from a real-world error I got using paramiko.SFTPFile:
withself._sftp.open(local_path, mode='r') aslocal_file:
forlineinlocal_file: # triggers on local_fileyieldline.rstrip()
SFTPFile is like Foo. It inherits from paramiko.BufferedFile which is analogous to Iterable, and BufferedFile inherits from paramiko.util.ClosingContextManager.
Current behavior
sscce.py:19:13: E1133: Non-iterable value foo is used in an iterating context (not-an-iterable)
Steps to reproduce
Note: I built this SSCCE from a real-world error I got using
paramiko.SFTPFile
:SFTPFile
is likeFoo
. It inherits fromparamiko.BufferedFile
which is analogous toIterable
, andBufferedFile
inherits fromparamiko.util.ClosingContextManager
.Current behavior
Expected behavior
(no errors)
pylint --version output
The text was updated successfully, but these errors were encountered: