python-soundfile icon indicating copy to clipboard operation
python-soundfile copied to clipboard

Stub file not found for "soundfile"

Open junapur opened this issue 10 months ago • 4 comments

Pyright reports error: Stub file not found for "soundfile" (reportMissingTypeStubs) when using this config:

[tool.pyright]
typeCheckingMode = "strict"`

junapur avatar Mar 09 '25 21:03 junapur

We don't have type hints yet. Would you like to contribute them?

bastibe avatar Mar 10 '25 06:03 bastibe

@bastibe I would like to contribute to the creation of a stub file. However, type annotations were provided in python 3.5 and later (the easier way to write them is 3.6 and later), so we are discontinuing support for earlier versions of python. Also, I would like to write type annotations directly in the source files, preferably not in stub files.

Looking forward to your good reply!

Geson-anko avatar Apr 11 '25 11:04 Geson-anko

I'm fine with raising Python requirements to the latest officially supported version of Python, i.e. 3.9

bastibe avatar Apr 23 '25 19:04 bastibe

@bastibe thank you very much!!!

Geson-anko avatar Apr 24 '25 07:04 Geson-anko