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

compose hook in mypy_plugin cannot handle variadic args #17

Closed
suned opened this issue Sep 15, 2019 · 1 comment
Closed

compose hook in mypy_plugin cannot handle variadic args #17

suned opened this issue Sep 15, 2019 · 1 comment
Labels
bug Something isn't working MyPy

Comments

@suned
Copy link
Owner

suned commented Sep 15, 2019

E.g

def f(a: int) -> str:
    pass

def g(a: float) -> int:
    pass

def h(a: object) -> float:
    pass

compose(f, g, *[h])  # Error: too many arguments for compose
@suned suned added bug Something isn't working MyPy labels Sep 15, 2019
@suned
Copy link
Owner Author

suned commented Aug 10, 2021

Fixed in master (somehow 🤷‍♂️ )

@suned suned closed this as completed Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MyPy
Projects
None yet
Development

No branches or pull requests

1 participant