Skip to content

Commit cb6c55c

Browse files
author
Andrei Neagu
committed
pylint + mypy
1 parent c75352d commit cb6c55c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/service-library/src/servicelib/long_running_interfaces/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ async def _poll_for_result(
246246
return result
247247

248248
@validate_call(config=ConfigDict(arbitrary_types_allowed=True))
249-
async def ensure_result( # type: ignore[valid-type]
249+
async def ensure_result(
250250
self,
251251
name: RemoteHandlerName,
252252
*,

packages/service-library/src/servicelib/long_running_interfaces/_redis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(
3434
def _get_key(self, unique_id: JobUniqueId) -> str:
3535
return f"{_REDIS_PREFIX}::{self.long_running_namespace}::{unique_id}"
3636

37-
async def setup(self) -> None:
37+
async def setup(self) -> None: # pylint:disable=no-self-use
3838
_logger.debug("finished setup")
3939

4040
async def teardown(self) -> None:

0 commit comments

Comments
 (0)