- Notifications
You must be signed in to change notification settings - Fork673
chore: remove usage of 'from ... import *' in client.py#1318
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-io commentedFeb 22, 2021 • 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 @@## master #1318 +/- ##==========================================- Coverage 80.76% 80.72% -0.04%========================================== Files 69 69 Lines 3623 3627 +4 ==========================================+ Hits 2926 2928 +2- Misses 697 699 +2
Flags with carried forward coverage won't be shown.Click here to find out more.
Continue to review full report at Codecov.
|
In gitlab/client.py remove usage of: * from gitlab.const import * * from gitlab.exceptions import *Change them to: * import gitlab.const * import gitlab.exceptionsUpdate code to explicitly reference things in gitlab.const andgitlab.exceptionsA flake8 run no longer lists any undefined variables. Before it listedpossible undefined variables.
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! Would make sense to get rid of these blanket imports even in init but there are many things advertised publicly from that namespace even in docs (https://python-gitlab.readthedocs.io/en/stable/search.html?q=constants).
Uh oh!
There was an error while loading.Please reload this page.