-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Check for Incompatible os.getenv default value #1669
Comments
May be generalized to |
In an ideal world, we would have support for type annotations and type stubs, which would had solved this problem without requiring an extra check, just a new stub for these functions. Until then, we can probably go with this check, as suggested by @rogalski |
Thanks. I can do it if nobody already started. |
Sure thing! Let us know if there is anything we can help with. |
Any idea why I'm now seeing
for
|
Nm. I read the docs. I see what the warning means. |
Steps to reproduce
Current behavior
Expected behavior
pylint --version output
Just a moment ago I caught a bug caused by the wrong usage of
os.getenv
default. I would be nice to have a check for this.The text was updated successfully, but these errors were encountered: