-
-
Notifications
You must be signed in to change notification settings - Fork 288
refactor(conventional_commits): make schema_pattern more readable #1469
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## refactors #1469 +/- ##
==========================================
Coverage 97.87% 97.87%
==========================================
Files 57 57
Lines 2677 2678 +1
==========================================
+ Hits 2620 2621 +1
Misses 57 57
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:
|
Oh... no wonder there are so many codes I think I have read. would need you help to resolve the conflict |
baee83e
to
a9cd957
Compare
commitizen/config/json_config.py
Outdated
@@ -13,7 +13,7 @@ class JsonConfig(BaseConfig): | |||
def __init__(self, *, data: bytes | str, path: Path | str): | |||
super().__init__() | |||
self.is_empty_config = False | |||
self.add_path(path) | |||
self.path = path # type: ignore |
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.
Do we still need the type ignore here?
Description
Checklist
Code Changes
poetry all
locally to ensure this change passes linter check and testsExpected Behavior
Steps to Test This Pull Request
Run
cz check --message "blahblahblah"
multiple times to check if it's working as expected. We don't use capture groups ofre.compile(self.schema_pattern)
so it's fine to adjust the parentheses.Additional Context