Skip to content

Show return type annotation when show_signature_annotations = true #4

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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