Expose public API in dir(impulso) via __dir__#28
Open
niall-stack wants to merge 1 commit intothomaspinder:mainfrom
Open
Expose public API in dir(impulso) via __dir__#28niall-stack wants to merge 1 commit intothomaspinder:mainfrom
niall-stack wants to merge 1 commit intothomaspinder:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (88.9%) is below the target coverage (90.0%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #28 +/- ##
=====================================
Coverage 88.9% 88.9%
=====================================
Files 16 16
Lines 651 653 +2
Branches 83 83
=====================================
+ Hits 579 581 +2
Misses 53 53
Partials 19 19 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Owner
|
Thanks for opening this PR. It looks like the PR branch is stale, so I think you'll just need to rebase the PR. Once rebased, you'll need to add all entities into |
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.
Summary\nAdds a module-level dir in src/impulso/init.py so interactive discovery tools and IDE completion include all public API names from all.\n\nAlso adds a focused test in ests/test_public_api.py to ensure each all symbol appears in dir(impulso).\n\n## Why\nFixes #25 (getattr does not update dir).\n\n## Validation\nI added/updated tests for this behavior.\n\nNote: I could not run pytest locally in this environment because no Python runtime is installed on host (py -3.11 reported no suitable runtime).