Skip to content

Commit dcfa429

Browse files
committed
fix: ignore S311 for random delay
1 parent b8c5062 commit dcfa429

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/zeroconf/_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ async def async_check_service(
548548

549549
# Wait a random amount of time up avoid collisions and avoid
550550
# a thundering herd when multiple services are started on the network
551-
await self.async_wait(random.randint(150, 250))
551+
await self.async_wait(random.randint(150, 250)) # noqa: S311
552552

553553
next_instance_number = 2
554554
next_time = now = current_time_millis()

0 commit comments

Comments
 (0)