mypy icon indicating copy to clipboard operation
mypy copied to clipboard

Inspect class doc output

Open jcapriot opened this issue 1 year ago • 0 comments

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.

jcapriot avatar Aug 16 '24 21:08 jcapriot