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_parttoversioning.version_config. 5b90817Moved
version_part.pytoversioning/version_config.pyand updated all import statements accordingly. Enhanced error handling inVersionConfigby addingraise_errorflag 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_bumpcommand for detailed logging control.