From f9f7cb92f64691f9f51b8460228e4b1fdb45354c Mon Sep 17 00:00:00 2001 From: Mathieu Le Marec - Pasquet Date: Sun, 18 May 2025 19:20:57 +0300 Subject: [PATCH] fix lint --- CHANGELOG.rst | 3 +-- src/croniter/croniter.py | 10 ++++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fcf3372..45fe85a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,8 +4,7 @@ Changelog 3.0.3 (unreleased) ------------------ -- Nothing changed yet. - +- fix lint [kiorky] 3.0.2 (2024-07-26) ------------------ diff --git a/src/croniter/croniter.py b/src/croniter/croniter.py index 4f75398..c6fb8e4 100644 --- a/src/croniter/croniter.py +++ b/src/croniter/croniter.py @@ -235,10 +235,16 @@ def _alphaconv(cls, index, key, expressions): def get_next(self, ret_type=None, start_time=None, update_current=True): if start_time and self._expand_from_start_time: raise ValueError("start_time is not supported when using expand_from_start_time = True.") - return self._get_next(ret_type or self._ret_type, start_time=start_time, is_prev=False, update_current=update_current) + return self._get_next(ret_type or self._ret_type, + start_time=start_time, + is_prev=False, + update_current=update_current) def get_prev(self, ret_type=None, start_time=None, update_current=True): - return self._get_next(ret_type or self._ret_type, start_time=start_time, is_prev=True, update_current=update_current) + return self._get_next(ret_type or self._ret_type, + start_time=start_time, + is_prev=True, + update_current=update_current) def get_current(self, ret_type=None): ret_type = ret_type or self._ret_type