posit-dev / py-shinyswatch

Bootswatch themes for py-shiny

Home Page:https://posit-dev.github.io/py-shinyswatch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type stubs generated by pyright do not have a return type

wch opened this issue · comments

When type stubs are generated by pyright, they don't include return type, and they don't include the function body. This means that when a type checker uses the stubs, it can't know the return type.

def cosmo():
    """
    To see a live demo of the cosmo Bootswatch theme, visit [https://bootswatch.com/cosmo/](https://bootswatch.com/cosmo/).

    [text clipped]
    """
    ...