Silence pylint
Silence pylint in specific places where we're doing slightly unusual or dodgy, but correct.
This commit is contained in:
parent
23e64f226b
commit
e915d532a6
4 changed files with 9 additions and 4 deletions
|
@ -238,7 +238,7 @@ class FileWrapper(io.FileIO, object):
|
|||
if hasattr(parent, '__next__'):
|
||||
line = parent.__next__() # Python 3
|
||||
else:
|
||||
line = parent.next() # Python 2
|
||||
line = parent.next() # Python 2 # pylint: disable=no-member
|
||||
if line is not None:
|
||||
self._line_no += 1
|
||||
# Convert byte array to string with correct encoding and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue