Fixes
-
Refactor version parsing in visualize function. 5f25300
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.
-
Refactor and rename
version_part
toversioning.version_config
. 5b90817Moved
version_part.py
toversioning/version_config.py
and updated all import statements accordingly. Enhanced error handling inVersionConfig
by addingraise_error
flag and relevant exception raising for invalid version strings. Refined tests to reflect these changes. -
Fix version visualization and add verbose logging. ad46978
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.