Skip to content

Fix u loop#28

Merged
zrq1706 merged 2 commits intomainfrom
fix_u_loop
Jul 4, 2025
Merged

Fix u loop#28
zrq1706 merged 2 commits intomainfrom
fix_u_loop

Conversation

@zrq1706
Copy link
Owner

@zrq1706 zrq1706 commented Jul 4, 2025

This pull request introduces a version bump to 0.7.5 and includes a key change to rename the function U_stats_loop to u_stats_loop for consistency. The updates span across documentation, code, and metadata files to reflect this change.

Version Update:

  • Updated the version from 0.7.4 to 0.7.5 in pyproject.toml and src/u_stats/__init__.py. [1] [2] [3]

Function Renaming for Consistency:

  • Renamed U_stats_loop to u_stats_loop in the function definition in src/u_stats/statistics/ustats.py.
  • Updated the import statement in src/u_stats/__init__.py to reflect the renamed function.
  • Adjusted the __all__ list in src/u_stats/statistics/ustats.py to include the new function name.

Documentation Updates:

  • Updated the function name in the README.md file to u_stats_loop for consistency in the documentation.

Changelog:

  • Added an entry in CHANGELOG.md for version 0.7.5, documenting the function renaming.

@zrq1706 zrq1706 self-assigned this Jul 4, 2025
Copilot AI review requested due to automatic review settings July 4, 2025 11:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_loop renamed to lowercase u_stats_loop in 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_loop name is a breaking change; consider adding a deprecated alias U_stats_loop = u_stats_loop to 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)

@zrq1706 zrq1706 merged commit 3a92c8c into main Jul 4, 2025
2 checks passed
@zrq1706 zrq1706 deleted the fix_u_loop branch July 4, 2025 11:47
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.

2 participants