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

Support for doctest #28

Open
kasium opened this issue Oct 22, 2021 · 0 comments
Open

Support for doctest #28

kasium opened this issue Oct 22, 2021 · 0 comments

Comments

@kasium
Copy link

kasium commented Oct 22, 2021

Hey,

thanks for creating this project. In my project I prefer to write code in rst docstrings as doctest:

def foo():
   """Bar.
    .. doctest::

        >>> import inspect
        >>> def foo(a: int) -> str:
        ...     return str(a)
        ...

Do you see any way to also support doctest in this plugin?

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

1 participant