8000 Show return type annotation when show_signature_annotations = true · Issue #4 · mkdocstrings/python · GitHub
[go: up one dir, main page]

Skip to content
Show return type annotation when show_signature_annotations = true #4
Closed
@johnthagen

Description

@johnthagen

Describe the solution you'd like

When setting:

plugins:
  - search
  - mkdocstrings:
      handlers:
        python:
          rendering:
            show_signature_annotations: true

It would be helpful if this also rendered the return type (e.g -> int)

Screen Shot 2022-02-22 at 8 10 49 AM

This is the common, concise way that Python developers are used to reading types.

Describe alternatives you've considered

An extra configuration option, but I don't think that is necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0