-
Notifications
You must be signed in to change notification settings - Fork 92
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
Crash on functions with certain typehinting #129
Comments
With @olchas we encountered the same issue. How can we help to solve this bug? |
@jreese is just checking whether |
Some getting started docs are at https://github.com/facebookincubator/Bowler/blob/master/CONTRIBUTING.md |
@thatch Taking a look at this; first time working with unit tests any documentation on this? |
@thatch is this still up can i submit a PR for this ? |
For Python 3.8 or lower : That code is correct |
@MdAfzaalkhan sure! The dotted notation is legal in 3.9+ as well, especially for third-party types. |
Simple typehints seem to be supported, but others cause bowler to crash. For example,
foo.py:
Running
Produces
While replacing
typing.List[str]
with juststr
produces the expected resultThe text was updated successfully, but these errors were encountered: