-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
numpy.logical_or gives false error assignment-from-no-return #2694
numpy.logical_or gives false error assignment-from-no-return #2694
Comments
Thanks for the report! |
For the record, this affects other functions too, such as |
and |
|
Any update as to the cause of this? or what versions this didn't occur on? could be a numpy issue? |
@jordyjwilliams It has to do with the release of |
Does anyone know if this needs fixing on |
This is on |
@PCManticore any idea on when this will be fixed? |
Can confirm same problem for a lot more Numpy functions, for example |
+1 to all these issues |
Should be fixed with the latest |
@PCManticore That was quick! The commit says release date tba. Are we talking days or weeks? |
Weeks most likely, I'll do a dev release in a bit, but the final one might be somewhere in February. |
See pylint-dev/pylint#2694 for details. http://ci.mxnet.io/blue/organizations/jenkins/GluonNLP-py3-master-gpu-integration/detail/PR-836/1/ for an example how the bug affects us.
See pylint-dev/pylint#2694 for details. http://ci.mxnet.io/blue/organizations/jenkins/GluonNLP-py3-master-gpu-integration/detail/PR-836/1/ for an example how the bug affects us.
* Drop Python2 on CI * Upgrade pylint and astroid to avoide false positive E1111 See pylint-dev/pylint#2694 for details. http://ci.mxnet.io/blue/organizations/jenkins/GluonNLP-py3-master-gpu-integration/detail/PR-836/1/ for an example how the bug affects us. * Fix pylint "useless-object-inheritance" * Fix pylint "consider-using-in" * Fix pylint "unnecessary-pass" * Fix pylint "useless-return" * Fix pylint "chained-comparison" * Fix pytest "simplifiable-if-expression" * Fix pylint "duplicate-string-formatting-argument" * Fix pylint "no-else-raise" * Fix object serialization in bert scripts
Hi! I'm facing the same issue in python2 within vscode. thanks a lot! |
Sorry, the last minor versions supporting Python 2 are 1.9.x. We're currentely only supporting Python 3.6 and up (we're following what Python itself is doing). |
Steps to reproduce
Execute pylint on the following code:
Current behavior
Expected behavior
No issue
pylint --version output
The text was updated successfully, but these errors were encountered: