Skip to content

Commit d341314

Browse files
committed
Remove obsolete darglint ignore directives
We are not using `darglint` anymore and they render in the docs. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 5446aa6 commit d341314

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

src/frequenz/channels/_base_classes.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ async def receive(self) -> T:
9393
Raises:
9494
ReceiverStoppedError: if there is some problem with the receiver.
9595
ReceiverError: if there is some problem with the receiver.
96-
97-
# noqa: DAR401 __cause__ (https://github.com/terrencepreilly/darglint/issues/181)
9896
"""
9997
try:
10098
received = await self.__anext__() # pylint: disable=unnecessary-dunder-call

src/frequenz/channels/_bidirectional.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ def consume(self) -> W:
9595
Raises:
9696
ReceiverStoppedError: if there is some problem with the receiver.
9797
ReceiverError: if there is some problem with the receiver.
98-
99-
# noqa: DAR401 err (https://github.com/terrencepreilly/darglint/issues/181)
10098
"""
10199
try:
102100
return self._receiver.consume() # pylint: disable=protected-access

src/frequenz/channels/util/_select.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ def value(self) -> _T:
8484
this should be an [`frequenz.channels.Error`][frequenz.channels.Error]
8585
instance, but catches all exceptions in case some receivers can raise
8686
anything else.
87-
88-
# noqa: DAR401 _exception
8987
"""
9088
if self._exception is not None:
9189
raise self._exception

0 commit comments

Comments
 (0)