-
Notifications
You must be signed in to change notification settings - Fork 15
add check_ref_format abstract method #158
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
7690922 to
8233483
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #158 +/- ##
==========================================
+ Coverage 81.66% 81.69% +0.02%
==========================================
Files 25 25
Lines 3404 3408 +4
Branches 588 589 +1
==========================================
+ Hits 2780 2784 +4
Misses 542 542
Partials 82 82 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a0a87a4 to
67d318a
Compare
| @abstractmethod | ||
| def check_ref_format(self, refname: str) -> bool: | ||
| """Check if a reference name is well formed.""" |
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.
What is the cli git analog?
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.
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.
Added some context in the original message
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.
Oh, didn't know that one even exists. Good to know, thank you!
adds dummy implementation for
pygit2andgitpythonIn some cases, switching backends (from dulwich) would result in
AttributeNotFoundErrordue to missing implementation inpygit2andgitpython.