-
Notifications
You must be signed in to change notification settings - Fork 84
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
Add hello world example and check to tests #215
Conversation
As Python2 doesn't have extended unpacking (c.f. PEP 3132) the unpacking in the example needs to be changed to pass the CI
a590513
to
519f99e
Compare
This is done by explicitly calling doctest on the README in the docs section of the CI. This is done instead of adding the README to --doctest-glob in pytest.ini so as to keep the example in the README displaying Python3 code.
Extended Upacking is a python 3 feature only. Just need to fix |
519f99e
to
09c04da
Compare
Yeah, that's exactly what I say in this commit. However, I would prefer to not have Python2 code in the very first examples people see (for a few reasons) so I've just switched to explicitly calling |
nice. thanks @matthewfeickert |
Resolves #214
Checklist Before Requesting Approver