Skip to content

Commit e7ee4f5

Browse files
author
Daniil Dumchenko
committed
Fix: run lint.sh
1 parent 979f112 commit e7ee4f5

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

faststream/confluent/broker/broker.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,4 @@ async def publish_batch(
528528
@override
529529
async def ping(self, timeout: Optional[float]) -> bool:
530530
with move_on_after(timeout) as cancel_scope:
531-
return not (
532-
cancel_scope.cancel_called or self._producer is None
533-
)
534-
531+
return not (cancel_scope.cancel_called or self._producer is None)

faststream/kafka/broker/broker.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ async def publish_batch(
812812
async def ping(self, timeout: Optional[float]) -> bool:
813813
with move_on_after(timeout) as cancel_scope:
814814
return not (
815-
cancel_scope.cancel_called or
816-
self._producer is None or
817-
self._producer._producer._closed
815+
cancel_scope.cancel_called
816+
or self._producer is None
817+
or self._producer._producer._closed
818818
)

0 commit comments

Comments
 (0)