Hello, we are currently using “pymc” module in our project, and we noticed the following error while trying to run mypy from poetry : gamma_uplift.py:1: error: Skipping analyzing "pymc": module is installed, but missing library stubs or py.typed marker [import-untyped]
It appears that there is no py.typed file at the root of the module directory, which seems to be necessary for better integration with mypy as seen here PEP 561 & mypy docs
Are we missing something ?
Reproduceable code example:
Create a file with just
import pymc
Then runmypy my_file.py
Error message:
my_file.py:1: error: Skipping analyzing “pymc”: module is installed, but missing library stubs or py.typed marker [import-untyped]
my_file.py:1: note: See Running mypy and managing imports - mypy 1.7.1 documentation
Found 1 error in 1 file (checked 26 source files)
PyMC version information:
PyMC 5.9.1
Python 3.10.12