Skip to content

Commit

Permalink
Remove unjustified pylint new warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tools4origins committed May 8, 2020
1 parent cae236d commit 9920572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pysparkling/fileio/textfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def load(self, encoding='utf8', encoding_errors='ignore'): # pylint: disable=ar
:param str encoding_errors: How to handle encoding errors.
:rtype: io.StringIO
"""
# pylint: disable=comparison-with-callable
if isinstance(self.codec, codec.NoCodec) and \
self.fs.load_text != FileSystem.load_text:
stream = self.fs.load_text(encoding, encoding_errors)
Expand Down

0 comments on commit 9920572

Please sign in to comment.