Skip to content

Commit 8309f42

Browse files
Marenzllucax
andauthored
fixup! Dispatch pyt
Co-authored-by: Leandro Lucarella <[email protected]> Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent f80fef2 commit 8309f42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frequenz/dispatch/_dispatch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ def until(self) -> datetime | None:
140140
return self._until(now)
141141

142142
@property
143-
# noqa is to silence warning about Return & Yield statements in the same
144-
# function
143+
# noqa is needed because of a bug in pydoclint that makes it think a `return` with a return
144+
# value needs documenting
145145
def missed_runs(self) -> Iterator[datetime]: # noqa: DOC405
146146
"""Yield all missed runs of a dispatch.
147147

0 commit comments

Comments
 (0)