Linted
This commit is contained in:
parent
9dd17158ef
commit
99105bc59c
1 changed files with 2 additions and 2 deletions
|
|
@ -35,11 +35,11 @@ class Fake_Requests:
|
||||||
|
|
||||||
def json(self):
|
def json(self):
|
||||||
"""json parsed version for local requests."""
|
"""json parsed version for local requests."""
|
||||||
with open(self._filename, "r") as file:
|
with open(self._filename, "r") as file: # pylint: disable=unspecified-encoding
|
||||||
return json.load(file)
|
return json.load(file)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def text(self):
|
def text(self):
|
||||||
"""raw text version for local requests."""
|
"""raw text version for local requests."""
|
||||||
with open(self._filename, "r") as file:
|
with open(self._filename, "r") as file: # pylint: disable=unspecified-encoding
|
||||||
return file.read()
|
return file.read()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue