- Notifications
You must be signed in to change notification settings - Fork11
Issue:mercurial /svn missing skips git tests#482
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Conversation
codecovbot commentedDec 24, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## master #482 +/- ##==========================================- Coverage 54.08% 54.01% -0.07%========================================== Files 40 40 Lines 3635 3634 -1 Branches 793 794 +1 ==========================================- Hits 1966 1963 -3- Misses 1318 1319 +1- Partials 351 352 +1 ☔ View full report in Codecov by Sentry. |
d78f84d to6436c03Compare6436c03 to6927e42Compare6927e42 tofb20670Comparetony commentedJan 11, 2025
@sourcery-ai review |
Reviewer's Guide by SourceryThis pull request fixes an issue where tests were skipped if certain VCS binaries were missing, but the tests didn't rely on those binaries. The logic was unintentionally skipping tests that should have run. The fix now correctly skips tests only when the required VCS binary is missing. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess yourdashboard to:
Getting Help
|
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.
Hey@tony - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢General issues: all looks good
- 🟢Security: all looks good
- 🟢Testing: all looks good
- 🟢Complexity: all looks good
- 🟢Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
| ifany(# NOQA: SIM103 | ||
| needleinstr(collection_path)forneedlein ["hg","mercurial"] | ||
| )andnotshutil.which("hg"): | ||
| returnTrue | ||
| returnFalse |
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.
issue (code-quality): We've found these issues:
- Lift code into else after jump in control flow (
reintroduce-else) - Replace if statement with if expression (
assign-if-exp) - Simplify boolean if expression (
boolean-if-exp-identity) - Remove unnecessary casts to int, str, float or bool (
remove-unnecessary-cast)
Uh oh!
There was an error while loading.Please reload this page.
Problem
If
svn(subversion) orhg(mercurial) isn't installed, fixtures for git-based tests won't run.Summary by Sourcery
Tests: