Open jplu opened 1 year ago
Hi @jplu ! Thanks for reporting this. I will investigate it.
Do you think providing a stub would be the best solution? Would it help to add more type annotations to this python source code?
I'm not super familiar with mypy and PyLance, unfortunately. Do you know more?
In order to be sure, better to add the stub file, py.typed
with:
partial
And doing a simple:
pip install mypy
mypy .
And fix all the raised warning by mypy.
Which Python version do you use? I have strange issues with Python 3.7 which disappeared when using Python 3.8.
I'm using Python 3.10, so it should be ok then :)
Hello!
When I use your package, apparently mypy and PyLance are not happy with it. They raises warning saying:
Indeed some of your datatypes cannot be properly understood by the type checkers because of this missing file (see https://mypy.readthedocs.io/en/stable/stubs.html). Any chance you can fix this at some point ?
Thanks :)