-
-
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
pylint incorrectly issues error E1123 on numpy.unique kwargs (numpy v1.15.4) #3825
Comments
@NiaX84 thanks for the report. |
#3736 is a duplicate issue that contains an example for this problem. |
@NiaX84 @igozali i'm unable to reproduce the bug.
and i obtain:
I'm using:
|
@hippo91 It appears the numpy version is important. I am seeing this with numpy<=1.15.4 but I get the same result as you for numpy>=1.16. numpy 1.15.4
|
@DevinShanahan thanks for your answer. |
Same for
My
I can't make this error disappear (for code such as |
@guy4261 thanks for your report. |
#wat I ended code such as |
@guy4261 |
Thanks for the clarification @PCManticore ! |
Steps to reproduce
Current behavior
E1123 is raised.
E1123: Unexpected keyword argument 'return_counts' in function call (unexpected-keyword-arg)
Expected behavior
no error is raised, since the keyword arguments are present since numpy v1.9.0 and numpy v1.15.4 is used
pylint --version output
pylint 2.6.0
astroid 2.4.2
Python 3.7.2 (default, Mar 27 2019, 08:41:08)
[GCC 6.3.0 20170516]
The text was updated successfully, but these errors were encountered: