Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix version visualization and add verbose logging #226

Merged
merged 3 commits into from
Aug 13, 2024

Conversation

coordt
Copy link
Member

@coordt coordt commented Aug 13, 2024

Raise an exception for unparsable versions and aggregate visualization output in a list before printing. Add a verbose logging option to the show_bump command for detailed logging control.

coordt added 3 commits August 13, 2024 12:39
Raise an exception for unparsable versions and aggregate visualization output in a list before printing. Add a verbose logging option to the `show_bump` command for detailed logging control.
Moved `version_part.py` to `versioning/version_config.py` and updated all import statements accordingly. Enhanced error handling in `VersionConfig` by adding `raise_error` flag and relevant exception raising for invalid version strings. Refined tests to reflect these changes.
Simplify the version parsing process by utilizing the raise_error parameter in the parse method, removing the need for a separate error check. This change ensures that parsing errors are immediately raised and handled cleanly within the visualize function.
@coordt coordt linked an issue Aug 13, 2024 that may be closed by this pull request
Copy link

Version hint: patch
Current version: 0.25.2
New version (when merged): 0.25.3

Comment ID: Display the version hint-auto-generated

Copy link

PR Preview Action v1.4.7
🚀 Deployed preview to https://callowayproject.github.io/bump-my-version/pr-preview/pr-226/
on branch gh-pages at 2024-08-13 19:32 UTC

@coordt coordt merged commit e5ee982 into master Aug 13, 2024
13 checks passed
@coordt coordt deleted the 225-show-bump-attributeerror branch August 13, 2024 19:34
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.

AttributeError: 'NoneType' object has no attribute 'bump'
1 participant