Test coverage - #33
Merged
Merged
Conversation
davebelais
force-pushed
the
test-coverage-2
branch
from
August 2, 2026 04:42
69f7512 to
69bd40d
Compare
davebelais
force-pushed
the
test-coverage-2
branch
from
August 2, 2026 04:43
69bd40d to
7d28087
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes a new patch release (
2.2.2) for thesoblibrary, focusing on bug fixes, improved test coverage, and some utility enhancements. The most significant changes address subtle bugs in type inference and docstring formatting, add comprehensive tests for the hooks API, and improve error handling in datetime parsing. Additionally, documentation and configuration updates were made.Bug fixes and core logic improvements:
src/sob/thesaurus.pywhere type inference could incorrectly match types due to a variable name error in_update_types, and corrected property merging logic in_update_object_meta. [1] [2]src/sob/utilities.py, including correct handling of indentation and line endings, and fixed an off-by-one bug in theindentfunction. [1] [2] [3] [4] [5] [6]str2datetimeinsrc/sob/_datetime.pyto only strip the UTC offset when no explicit time zone is present, improving standards compliance.Properties.__eq__insrc/sob/meta.pyto properly compare the underlying dictionary.Testing improvements:
tests/test_hooks.pywith comprehensive coverage for the hooks API, including error handling and instance/class-level hooks.tests/test_datetime.pywith additional tests for type errors instr2datetimeandstr2date, and stricter doctest assertions. [1] [2]Documentation and configuration:
AGENTS.mdwith an overview of the project, development commands, layout, style, and CI/release gotchas..claude/skills/fableplan/SKILL.md, documenting an opt-in local skill for toggling Fable Plan Mode in Claude Code.superpowersplugin in.claude/settings.json.2.2.2inpyproject.toml.tests/test_io.py.