docs(exit-codes): general update and add docstring to exceptions.py#1662
Merged
Lee-W merged 1 commit intocommitizen-tools:v4-10-1from Nov 30, 2025
Merged
docs(exit-codes): general update and add docstring to exceptions.py#1662Lee-W merged 1 commit intocommitizen-tools:v4-10-1from
Lee-W merged 1 commit intocommitizen-tools:v4-10-1from
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v4-10-1 #1662 +/- ##
==========================================
Coverage ? 98.67%
==========================================
Files ? 60
Lines ? 2647
Branches ? 0
==========================================
Hits ? 2612
Misses ? 35
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bf1fca1 to
08f521a
Compare
08f521a to
b7b09bc
Compare
Lee-W
reviewed
Nov 21, 2025
commitizen/exceptions.py
Outdated
|
|
||
|
|
||
| class CurrentVersionNotFoundError(CommitizenException): | ||
| """current version cannot be found in _version_files_""" |
Member
There was a problem hiding this comment.
Suggested change
| """current version cannot be found in _version_files_""" | |
| """Current version cannot be found in `version_files`""" |
docs/exit_codes.md
Outdated
| | `CurrentVersionNotFoundError`| 17 | Current version cannot be found in _version_files_ | | ||
| | `InvalidCommandArgumentError`| 18 | The argument provided to the command is invalid (e.g. `cz check -commit-msg-file filename --rev-range master..`) | | ||
| | `InvalidConfigurationError` | 19 | An error was found in the Commitizen Configuration, such as duplicates in `change_type_order` | | ||
| | `NotAllowed` | 20 | `--incremental` cannot be combined with a `rev_range` | |
Collaborator
Author
There was a problem hiding this comment.
No. I can update the description like "Invalid combination of command line / configuration file options"
Member
There was a problem hiding this comment.
Yep, it would be better if we do that
Member
|
nice! LGTM! |
b7b09bc to
3b1a00c
Compare
docs(exception): add comment for updating exit code doc
3b1a00c to
53f2496
Compare
Lee-W
approved these changes
Nov 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update outdated information, fix grammar mistakes, add error codes, etc.