-
-
Notifications
You must be signed in to change notification settings - Fork 2
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 type checking with Pyright #8
Comments
Hello, and sorry for the delay! I'm doing a release of some other unrelated project as I write; but the good news is that I know a lot more about Make a comment, it will sit in my inbox, I'll get to it tomorrow. Thanks for using my work!! |
thanks for the swift reply, that's great to hear! |
Very, very sorry about the delay! Two things happened. First, I wasn't able to solve the problem in several hours of work, and I intended to go back to it, but then the job became horrible, and my time vanished. I'm still TBH not sure how to solve this issue, nor am I able to make Got any ideas? |
I'll have a look, thanks for the feedback |
I've got plenty of time right now, that last job collapsed, so I can be super responsive, and now it's personal :-D since it's getting in my way. |
I found this issue which sounds like what we want, but wasn't able to solve it. python/mypy#7778
edit: nevermind, this errors at runtime app = dtyper.Typer()
@app.command(app, help="test")
def test(
...
) -> None:
... |
I believe perhaps we could open an issue there to ask for advice. |
Pyright currently complains when using dtyper as a drop-in replacement that
@app.command
decorators are missingself
as parameter.probably it could be solved by adding more complete type annotations to dtyper.
The text was updated successfully, but these errors were encountered: