Skip to content

Commit 1a9eb74

Browse files
authored
Remove remaining traces of darglint (#873)
We moved to `pydoclint` for docstring linting a while ago so we no longer need the `.darglint` file or darglint-related comments.
2 parents 1d4ccce + 60db55a commit 1a9eb74

File tree

4 files changed

+3
-26
lines changed

4 files changed

+3
-26
lines changed

.darglint

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/frequenz/sdk/actor/_background_service.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ async def stop(self, msg: str | None = None) -> None:
141141
Raises:
142142
BaseExceptionGroup: If any of the tasks spawned by this service raised an
143143
exception.
144-
145-
[//]: # (# noqa: DAR401 rest)
146144
"""
147145
if not self._tasks:
148146
return

src/frequenz/sdk/timeseries/_moving_window.py

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -374,24 +374,15 @@ def count_covered(self) -> int:
374374

375375
@overload
376376
def __getitem__(self, key: SupportsIndex) -> float:
377-
"""See the main __getitem__ method.
378-
379-
[//]: # (# noqa: DAR101 key)
380-
"""
377+
"""See the main __getitem__ method."""
381378

382379
@overload
383380
def __getitem__(self, key: datetime) -> float:
384-
"""See the main __getitem__ method.
385-
386-
[//]: # (# noqa: DAR101 key)
387-
"""
381+
"""See the main __getitem__ method."""
388382

389383
@overload
390384
def __getitem__(self, key: slice) -> ArrayLike:
391-
"""See the main __getitem__ method.
392-
393-
[//]: # (# noqa: DAR101 key)
394-
"""
385+
"""See the main __getitem__ method."""
395386

396387
def __getitem__(self, key: SupportsIndex | datetime | slice) -> float | ArrayLike:
397388
"""

src/frequenz/sdk/timeseries/_resampling.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -821,8 +821,6 @@ async def resample(self, timestamp: datetime) -> None:
821821
822822
If the error is in the sink, the receiving part will continue
823823
working while this helper is alive.
824-
825-
[//]: # (# noqa: DAR401 recv_exception)
826824
"""
827825
if self._receiving_task.done():
828826
if recv_exception := self._receiving_task.exception():

0 commit comments

Comments
 (0)