style: add lint excludes
This commit is contained in:
@@ -42,6 +42,7 @@ class ApiSource:
|
|||||||
async with session.request(method, url, timeout=self._timeout, data=data) as response:
|
async with session.request(method, url, timeout=self._timeout, data=data) as response:
|
||||||
return await response.text()
|
return await response.text()
|
||||||
|
|
||||||
|
# pylint:disable=unused-argument
|
||||||
async def _browser_request(
|
async def _browser_request(
|
||||||
self,
|
self,
|
||||||
url: str,
|
url: str,
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ class MockSource(ApiSource):
|
|||||||
self._path = path
|
self._path = path
|
||||||
self._mapping = mapping
|
self._mapping = mapping
|
||||||
|
|
||||||
|
# pylint:disable=arguments-differ,unused-argument
|
||||||
async def request(self, endpoint: str, /, **kwargs) -> str:
|
async def request(self, endpoint: str, /, **kwargs) -> str:
|
||||||
for pattern, filename in self._mapping.items():
|
for pattern, filename in self._mapping.items():
|
||||||
if pattern in endpoint:
|
if pattern in endpoint:
|
||||||
|
|||||||
Reference in New Issue
Block a user