Skip to content

Commit

Permalink
Satisfy pylint (we do use a 'with' statement, later on).
Browse files Browse the repository at this point in the history
  • Loading branch information
jpivarski committed Apr 29, 2022
1 parent 2b5c3be commit 2f86ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/awkward/_v2/operations/convert/ak_from_json_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _get_reader(source):
elif isinstance(source, pathlib.Path):
parsed_url = urlparse(str(source))
if parsed_url.scheme == "" or parsed_url.netloc == "":
return lambda: open(source, "rb")
return lambda: open(source, "rb") # pylint: disable=R1732
else:
import fsspec

Expand Down

0 comments on commit 2f86ae5

Please sign in to comment.