-
-
Notifications
You must be signed in to change notification settings - Fork 281
refactor(changelog): minor cleanup #1443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(changelog): minor cleanup #1443
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## refactors #1443 +/- ##
============================================
Coverage ? 97.66%
============================================
Files ? 57
Lines ? 2615
Branches ? 0
============================================
Hits ? 2554
Misses ? 61
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:
|
4dd7249
to
5d562c7
Compare
commitizen/commands/changelog.py
Outdated
tag_ratio = map( | ||
lambda tag: ( | ||
SequenceMatcher( | ||
items = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
items = ( | |
scores_and_tag_names: Generator[tuple[int, str]] = ( |
might be a better name. items
is too broad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly good, one nitpick. I just found out we bump versions too frequently. We didn't expect contributions this many and this fast. Thanks so much. But I just create a refactors
branch and will point these PRs to that one and merge them all at once
5d562c7
to
13a7717
Compare
Description
Checklist
Code Changes
poetry all
locally to ensure this change passes linter check and testsDocumentation Changes
poetry doc
locally to ensure the documentation pages renders correctlyExpected Behavior
Steps to Test This Pull Request
Additional Context