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:
|
||||
return await response.text()
|
||||
|
||||
# pylint:disable=unused-argument
|
||||
async def _browser_request(
|
||||
self,
|
||||
url: str,
|
||||
|
||||
@@ -12,6 +12,7 @@ class MockSource(ApiSource):
|
||||
self._path = path
|
||||
self._mapping = mapping
|
||||
|
||||
# pylint:disable=arguments-differ,unused-argument
|
||||
async def request(self, endpoint: str, /, **kwargs) -> str:
|
||||
for pattern, filename in self._mapping.items():
|
||||
if pattern in endpoint:
|
||||
|
||||
Reference in New Issue
Block a user