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
Use issubclass instead of isinstance to compare SourceGenerator in to_source #164
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Could you also fix the failed test and add a release note to docs/changelog.rst
?
Should I make a new section (0.9.0) in the changelog for the release note? |
Yes, that would be great! Actually, we can even make it 0.8.1 for now. |
BTW, I just merged a PR that adds a new section for 0.8.1. You can now rebase your branch and add a new entry for this PR. |
Thank you! |
I believe this is just a bug. If
source_generator_class
is a class, thenisinstance
is not appropriate since it's a class, not a class instance/object.