Add PEP 561 compliance, __all__ exports, and utility re-exports#15
Merged
Add PEP 561 compliance, __all__ exports, and utility re-exports#15
__all__ exports, and utility re-exports#15Conversation
- Add PEP 561 py.typed marker for downstream type checking - Add __all__ to all modules (node, traversal, discrete, discrete_iterator) - Add __all__ to all utility modules (array_backend, quaternion_math, quaternion_utils) - Expose public utilities via spinstep/utils/__init__.py with re-exports - Improve type hint: batch_quaternion_angle xp parameter now uses ModuleType - Update MANIFEST.in to include py.typed in sdist - Enhanced utils/__init__.py docstring with sub-package overview Co-authored-by: VoxleOne <119956342+VoxleOne@users.noreply.github.com> Agent-Logs-Url: https://github.com/VoxleOne/SpinStep/sessions/7a270a04-9727-4a04-b894-590cff277144
Co-authored-by: VoxleOne <119956342+VoxleOne@users.noreply.github.com> Agent-Logs-Url: https://github.com/VoxleOne/SpinStep/sessions/7a270a04-9727-4a04-b894-590cff277144
Copilot
AI
changed the title
[WIP] Refactor repository structure for improved maintainability
Add PEP 561 compliance, Mar 24, 2026
__all__ exports, and utility re-exports
VoxleOne
approved these changes
Mar 24, 2026
Copilot stopped work on behalf of
VoxleOne due to an error
March 24, 2026 17:53
VoxleOne
approved these changes
Mar 24, 2026
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.
__all__in all modules__all__to all 8 modules for explicit public API surfacepy.typedmarker (PEP 561) for downstream type checkingutils/__init__.pyto re-export all 11 public utility functionspy.typedin sdist[tool.setuptools.package-data]for py.typed in wheel buildspython -m build --sdistsucceeds, py.typed included__all__exports, py.typed, and__version__📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.