Skip to content

Conversation

@chetmancini
Copy link
Owner

Summary

  • Accept any Iterable collection (set, tuple, frozenset, list) for holidays in is_business_day to enable O(1) lookup with sets
  • Fix module docstring example to use correct public import path
  • Add comprehensive edge case tests covering leap year birthdays, generate_weeks with equal dates, and DST midnight boundaries

Test Plan

  • All 112 tests passing
  • Full lint and type checking coverage
  • New tests cover: Feb 29 birthdays, same date week generation, and DST transitions at midnight

🤖 Generated with Claude Code

…ts, fix import path

- Accept any Iterable collection (set, tuple, frozenset, list) for holidays in is_business_day for O(1) lookup with sets
- Restructure is_business_day logic for clarity with early returns
- Fix module docstring to use correct public import path
- Add comprehensive edge case tests for leap year birthdays, generate_weeks, and DST transitions
- All 112 tests passing with full lint and type checking coverage

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@chetmancini chetmancini merged commit 73b5659 into master Jan 25, 2026
6 checks passed
@chetmancini chetmancini deleted the chetmancini/belgrade branch January 25, 2026 14:18
@claude
Copy link

claude bot commented Jan 25, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants