Skip to content

Split parsing/timezone code and tests into modules#40

Open
chetmancini wants to merge 4 commits intomasterfrom
chetmancini/split-mega-files
Open

Split parsing/timezone code and tests into modules#40
chetmancini wants to merge 4 commits intomasterfrom
chetmancini/split-mega-files

Conversation

@chetmancini
Copy link
Copy Markdown
Owner

@chetmancini chetmancini commented Feb 22, 2026

This PR modularizes two independent areas by extracting parsing/formatting into dateutils/parsing.py and timezone utilities into dateutils/timezones.py, while preserving the existing public API via re-exports in dateutils/dateutils.py.
It also splits tests into tests/test_parsing.py and tests/test_timezones.py, leaving the remaining coverage in tests/test_dateutils.py.
Behavior is intended to be unchanged; this is a structural refactor for maintainability.
Validation: uv run ruff check and uv run pytest both pass (150 tests).

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.

1 participant