File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -310,9 +310,10 @@ def commitizen_excepthook(
310
310
311
311
312
312
def 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.
316
317
"""
317
318
no_raise_items = comma_separated_no_raise .split ("," )
318
319
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(
358
358
cli .main ()
359
359
except NoneIncrementExit as e :
360
360
git .tag .assert_not_called ()
361
- assert e .exit_code == ExitCode .NO_COMMITS_FOUND
361
+ assert e .exit_code == ExitCode .NO_INCREMENT
362
362
raise e
363
363
364
364
# restore pop stashed
You can’t perform that action at this time.
0 commit comments