Skip to content

Commit 9fdaadb

Browse files
committed
Move pylint-disable
1 parent bdc2254 commit 9fdaadb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ async def async_update(self) -> PlugwiseData:
530530
# Perform a full update at day-change
531531
day_number = dt.datetime.now().strftime("%w")
532532
if (
533-
day_number != self._previous_day_number
534-
): # pylint: disable=consider-using-assignment-expr
533+
day_number != self._previous_day_number # pylint: disable=consider-using-assignment-expr
534+
):
535535
LOGGER.debug(
536536
"Performing daily full-update, reload the Plugwise integration when a single entity becomes unavailable."
537537
)

0 commit comments

Comments
 (0)