Skip to content

Commit 80ceae4

Browse files
authored
Merge pull request #132 from evanpurkhiser/black-missed-call-sites
balck: A couple missed call-site formats
2 parents f1b43db + 90462a4 commit 80ceae4

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/croniter/croniter.py

+10-6
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,7 @@ def _get_next(
410410
dom_dow_exception_processed = True
411411

412412
if not dom_dow_exception_processed:
413-
result = self._calc(self.cur, expanded,
414-
nth_weekday_of_month, is_prev)
413+
result = self._calc(self.cur, expanded, nth_weekday_of_month, is_prev)
415414

416415
# DST Handling for cron job spanning across days
417416
dtstarttime = self._timestamp_to_datetime(self.dst_start_time)
@@ -1289,10 +1288,15 @@ def croniter_range(
12891288
start += ms1
12901289
stop -= ms1
12911290
year_span = math.floor(abs(stop.year - start.year)) + 1
1292-
ic = _croniter(expr_format, start, ret_type=datetime.datetime, day_or=day_or,
1293-
max_years_between_matches=year_span,
1294-
second_at_beginning=second_at_beginning,
1295-
expand_from_start_time=expand_from_start_time)
1291+
ic = _croniter(
1292+
expr_format,
1293+
start,
1294+
ret_type=datetime.datetime,
1295+
day_or=day_or,
1296+
max_years_between_matches=year_span,
1297+
second_at_beginning=second_at_beginning,
1298+
expand_from_start_time=expand_from_start_time,
1299+
)
12961300
# define a continue (cont) condition function and step function for the main while loop
12971301
if start < stop: # Forward
12981302

0 commit comments

Comments
 (0)