Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
kiorky committed Oct 31, 2024
1 parent dcd8b88 commit 286a352
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ Changelog
5.0.2 (unreleased)
------------------

- Code quality changes by @evanpurkhiser:
- Remove unused _get_caller_globals_and_locals [@evanpurkhiser]
- Remove single-use bad_length [@evanpurkhiser]
- Remove unused `days` in `proc_month` [@evanpurkhiser]
- Use `field_index` over `i` for readability [@evanpurkhiser]
- Always use `"""` for docstrings [@evanpurkhiser]
- Make helper instance methods that do not use self static [@evanpurkhiser]
- Remove unusd call to sys.exc_info [@evanpurkhiser]
- Remove unused `ALPHAS` [@evanpurkhiser]
- Improve `croniter.expand` documentation [@evanpurkhiser]
- Apply black formatter [evanpurkhiser, kiorky]
- Code quality changes by evanpurkhiser:
- Remove unused _get_caller_globals_and_locals [evanpurkhiser]
- Remove single-use bad_length [evanpurkhiser]
- Remove unused `days` in `proc_month` [evanpurkhiser]
- Use `field_index` over `i` for readability [evanpurkhiser]
- Always use `"""` for docstrings [evanpurkhiser]
- Make helper instance methods that do not use self static [evanpurkhiser]
- Remove unusd call to sys.exc_info [evanpurkhiser]
- Remove unused `ALPHAS` [evanpurkhiser]
- Improve `croniter.expand` documentation [evanpurkhiser]

5.0.1 (2024-10-29)
------------------
Expand Down
2 changes: 1 addition & 1 deletion src/croniter/croniter.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def proc_year(d):
diff_year = nearest_diff_method(d.year, expanded[YEAR_FIELD], None)
if diff_year is None:
return None, d
elif diff_year != 0:
if diff_year != 0:
if is_prev:
d += relativedelta(
years=diff_year,
Expand Down

0 comments on commit 286a352

Please sign in to comment.