From 6683b7b5b040e2d92c469ba67a568ab4d0b651e2 Mon Sep 17 00:00:00 2001 From: shmyga Date: Tue, 8 Sep 2026 23:35:55 +0300 Subject: [PATCH] style: add lint excludes --- gallery/sketch/source.py | 1 + tests/common/mock.py | 1 + 2 files changed, 2 insertions(+) diff --git a/gallery/sketch/source.py b/gallery/sketch/source.py index 61c7626..91566f0 100644 --- a/gallery/sketch/source.py +++ b/gallery/sketch/source.py @@ -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, diff --git a/tests/common/mock.py b/tests/common/mock.py index ad78b7c..d8dc5d1 100644 --- a/tests/common/mock.py +++ b/tests/common/mock.py @@ -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: