Skip to content

Commit 99105bc

Browse files
committed
Linted
1 parent 9dd1715 commit 99105bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_fakerequests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ def __init__(self, filename):
3535

3636
def json(self):
3737
"""json parsed version for local requests."""
38-
with open(self._filename, "r") as file:
38+
with open(self._filename, "r") as file: # pylint: disable=unspecified-encoding
3939
return json.load(file)
4040

4141
@property
4242
def text(self):
4343
"""raw text version for local requests."""
44-
with open(self._filename, "r") as file:
44+
with open(self._filename, "r") as file: # pylint: disable=unspecified-encoding
4545
return file.read()

0 commit comments

Comments
 (0)