Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR bumps the package version to 0.7.5 and renames the function U_stats_loop to u_stats_loop across code, imports, documentation, and metadata.
- Version updated in
pyproject.toml,__init__.py, and tool config - Function
U_stats_looprenamed to lowercaseu_stats_loopin implementation, exports, and docs - Documentation and changelog updated to reflect the rename
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/u_stats/statistics/ustats.py | Renamed function definition and updated __all__ |
| src/u_stats/init.py | Bumped __version__ and updated import |
| pyproject.toml | Bumped version in project and tool config |
| README.md | Updated function signature in docs |
| CHANGELOG.md | Added 0.7.5 entry for the rename fix |
Comments suppressed due to low confidence (2)
src/u_stats/statistics/ustats.py:45
- Removing the old
U_stats_loopname is a breaking change; consider adding a deprecated aliasU_stats_loop = u_stats_loopto maintain backward compatibility until the next major version bump.
"u_stats_loop",
CHANGELOG.md:7
- [nitpick] The date for version 0.7.4 matches the new 0.7.5 entry; consider updating the 0.7.4 date to its original release date to avoid confusion in the changelog history.
## 0.7.4 (2025-07-04)
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 introduces a version bump to
0.7.5and includes a key change to rename the functionU_stats_looptou_stats_loopfor consistency. The updates span across documentation, code, and metadata files to reflect this change.Version Update:
0.7.4to0.7.5inpyproject.tomlandsrc/u_stats/__init__.py. [1] [2] [3]Function Renaming for Consistency:
U_stats_looptou_stats_loopin the function definition insrc/u_stats/statistics/ustats.py.src/u_stats/__init__.pyto reflect the renamed function.__all__list insrc/u_stats/statistics/ustats.pyto include the new function name.Documentation Updates:
README.mdfile tou_stats_loopfor consistency in the documentation.Changelog:
CHANGELOG.mdfor version0.7.5, documenting the function renaming.