File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -310,9 +310,10 @@ def commitizen_excepthook(
310310
311311
312312def parse_no_raise (comma_separated_no_raise : str ) -> List [int ]:
313- """
314- Convert the given string with exit code digits or exit
315- codes name to its integer representation
313+ """Convert the given string to exit codes.
314+
315+ Receives digits and strings and outputs the parsed integer which
316+ represents the exit code found in exceptions.
316317 """
317318 no_raise_items : List [str ] = comma_separated_no_raise .split ("," )
318319 no_raise_codes = []
Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ def test_none_increment_should_not_call_git_tag_and_error_code_is_not_zero(
358358 cli .main ()
359359 except NoneIncrementExit as e :
360360 git .tag .assert_not_called ()
361- assert e .exit_code == ExitCode .NO_COMMITS_FOUND
361+ assert e .exit_code == ExitCode .NO_INCREMENT
362362 raise e
363363
364364 # restore pop stashed
You can’t perform that action at this time.
0 commit comments