-
Notifications
You must be signed in to change notification settings - Fork 182
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 makeurl(), deprecate query taking string or list arguments, drop osc_urlencode() #1476
Conversation
Hello @dmach! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-02-09 12:26:54 UTC |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1476 +/- ##
==========================================
+ Coverage 31.46% 31.51% +0.04%
==========================================
Files 49 50 +1
Lines 17884 17908 +24
==========================================
+ Hits 5628 5643 +15
- Misses 12256 12265 +9 ☔ View full report in Codecov by Sentry. |
The failing |
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.
LGTM, I've added a few stylistic comments/nitpicks, but sadly I cannot estimate whether this will not break anything…
@@ -9254,7 +9254,7 @@ | |||
o = open(destfile, 'wb') | |||
if md5 != '': | |||
query = {'rev': dir['srcmd5']} | |||
u = makeurl(dir['apiurl'], ['source', dir['project'], dir['package'], pathname2url(name)], query=query) | |||
u = makeurl(dir['apiurl'], ['source', dir['project'], dir['package'], name], query=query) |
Check warning
Code scanning / CodeQL
File is not always closed Warning
No description provided.