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

Show return type annotation when show_signature_annotations = true #4

Closed
johnthagen opened this issue Feb 22, 2022 · 2 comments
Closed

Comments

@johnthagen
Copy link

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.

pawamoy added a commit that referenced this issue Feb 22, 2022
@pawamoy
Copy link
Member

pawamoy commented Feb 22, 2022

Fixed in version 0.6.4 🙂

@pawamoy pawamoy closed this as completed Feb 22, 2022
@johnthagen
Copy link
Author

Confirmed this is fixed in 0.6.4. Thanks!

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

No branches or pull requests

2 participants