diff --git a/src/svcs/_core.py b/src/svcs/_core.py index 6c0fbab..f7827ea 100644 --- a/src/svcs/_core.py +++ b/src/svcs/_core.py @@ -360,7 +360,7 @@ def close(self) -> None: try: log.debug("closing %r", name) - oc() # type: ignore[operator] + oc() log.debug("closed %r", name) except Exception: # noqa: BLE001 log.warning( @@ -393,7 +393,7 @@ async def aclose(self) -> None: log.debug("async closed %r", name) else: log.debug("closing %r", name) - oc() # type: ignore[operator] + oc() log.debug("closed %r", name) except Exception: # noqa: BLE001, PERF203 log.warning(