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

Python Hinting causes issues with function parameter count #354

Open
lp55 opened this issue May 2, 2022 · 0 comments
Open

Python Hinting causes issues with function parameter count #354

lp55 opened this issue May 2, 2022 · 0 comments

Comments

@lp55
Copy link

lp55 commented May 2, 2022

Hi,

I noticed that when using certain type hinting on function parameters causes issues on the parameter count. Here's an example:

def fun(param: Union[str, List, int], param2: Union[str, List, int]):
x = 2
return x

Lizard's output has a PARAM value of 6, when it should be 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant