Skip to content
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

starargs from lambda result in no-value-for-parameter #2918

Closed
aure-olli opened this issue May 16, 2019 · 1 comment
Closed

starargs from lambda result in no-value-for-parameter #2918

aure-olli opened this issue May 16, 2019 · 1 comment
Labels
Bug 🪲 Good first issue Friendly and approachable by new contributors

Comments

@aure-olli
Copy link

Steps to reproduce

def foo(one, two, three):
    pass

bar = lambda *args: foo(*args)

Current behavior

test.py:4:20: E1120: No value for argument 'one' in function call (no-value-for-parameter)
test.py:4:20: E1120: No value for argument 'two' in function call (no-value-for-parameter)
test.py:4:20: E1120: No value for argument 'three' in function call (no-value-for-parameter)

Expected behavior

No warning

pylint --version output

This is exactly #722, except I'm using a lambda function.

I hope it can be similarly fixed

@PCManticore PCManticore added Bug 🪲 Good first issue Friendly and approachable by new contributors labels May 19, 2019
@PCManticore
Copy link
Contributor

Hi, thank you for the report! I can confirm the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🪲 Good first issue Friendly and approachable by new contributors
Projects
None yet
Development

No branches or pull requests

2 participants