commitizen
commitizen copied to clipboard
fix: add description for subcommands
Description
Checklist
- [x] Add test cases to all the changes you introduce
- [x] Run
./scripts/format
and./scripts/test
locally to ensure this change passes linter check and test - [x] Test the changes on the local machine manually
- [ ] Update the documentation for the changes (need remake a bunch of gifs/images @Lee-W)
Expected behavior
You must see the command description when running with --help
option
Steps to Test This Pull Request
-
cz commit --help
Screenshot
@Lee-W I delete the tests/commands/test_other_commands.py
an move the tests for the correspondent file without asking you. Let me know if you need that I revert or squash this.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.54%. Comparing base (
120d514
) to head (5982338
). Report is 319 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #1120 +/- ##
==========================================
+ Coverage 97.33% 97.54% +0.20%
==========================================
Files 42 55 +13
Lines 2104 2486 +382
==========================================
+ Hits 2048 2425 +377
- Misses 56 61 +5
Flag | Coverage Δ | |
---|---|---|
unittests | 97.54% <ø> (+0.20%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.