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

Inspect class doc output #17685

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

jcapriot
Copy link

Fixes #16543

Outputs the class docstring in the InspectionStubGenerator, dependent upon the --include-doc setting.

I've attempted to add tests to verify it, but it looks like the stubgen pytests are skipped? So i've also attempted to add it as a setting in the github action testing script, Obviously if you all know more about the stubgen tests and where best to add it, let me know. In the meantime I've tested this locally and it seems to produce the expected behavoir. It now inclused docs and looks to put them at the correct indent level.

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

Successfully merging this pull request may close these issues.

stubgen: Class docstring not included in stub when combining --include-docstrings with --inspect-mode
1 participant