Replies: 3 comments 1 reply
-
This repository doesn't use mypy as it's currently both slow and buggy. It uses Pyright/Pylance instead. |
Beta Was this translation helpful? Give feedback.
-
Thanks! I installed Pyright, but I'm still getting errors, am I running it in the intended way? If I run
I'm on Python 3.8, if that matters. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I was running it the wrong way - it looks like if you give it that
Just the errors, for readability:
And those two errors go away when I use pyright 1.1.265 (the version specified in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I run static type checking on this library? It has a bunch of type annotations, but they don't seem to work with
mypy
. To be clear, I'm talking about runningmypy
on the code in this repository, not in my own code that imports this library. Here's a sample of the errors I see:Beta Was this translation helpful? Give feedback.
All reactions