Skip to content

Commit

Permalink
Fix Mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jul 24, 2024
1 parent 6a67c0f commit ec8af76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/svcs/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit ec8af76

Please sign in to comment.