- Notifications
You must be signed in to change notification settings - Fork674
test(pylint): enable pylint "unused-argument" check#2100
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecov-commenter commentedJun 26, 2022 • 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 Report
@@ Coverage Diff @@## main #2100 +/- ##======================================= Coverage 94.73% 94.73% ======================================= Files 78 78 Lines 5087 5087 ======================================= Hits 4819 4819 Misses 268 268
Flags with carried forward coverage won't be shown.Click here to find out more.
|
nejch left a comment
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.
Thanks@JohnVillalovos, just a few tiny comments mainly for always passing onkwargs as we claim in our docs that we support it forsudo (and maybe in a few cases would also be useful for pagination args).
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Enable the pylint "unused-argument" check and resolve issues it found. * Quite a few functions were accepting `**kwargs` but not then passing them on through to the next level. Now pass `**kwargs` to next level. * Other functions had no reason to accept `**kwargs`, so remove it * And a few other fixes.
665b2c8 to23feae9Compare
Enable the pylint "unused-argument" check and resolve issues it found.
**kwargsbut not thenpassing them on through to the next level. Now pass
**kwargstonext level.
**kwargs, so remove it