ollama-python
ollama-python copied to clipboard
Add py.typed to mark the library as typed
Removes an error like this:
error: Skipping analyzing "ollama":
module is installed, but missing library stubs or py.typed marker [import-untyped]
when running mypy over code that uses the library.
@jmorganca Any updates on this? It is quite hard to tell who the maintainer of this project is.
I don't use poetry but I would be very surprised if it doesn't automatically include py.typed in the distribution package.
@bpshaver You may be right, but I remember us needing to do this to convince Poetry to include it when building Textual; perhaps that's changed in the last year or so?
Just did a test build without the include and it does look like it does include it anyway.
@davep I'm happy to merge this if you can remove the pyproject.toml change since poetry includes it
If I can? Did a word get missed? Sorry, don't quite understand what's being asked.
I missed a word "remove"
Ahh! Got you! Sure, I'll sort that when I'm next at a keyboard (hopefully within the next hour).
@mxyng Done!