You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The python bindings appear to be typed, but the module is missing the py.typed marker, so it will not be analyzed as such. Mypy provides guidance:
mypy my_script.py:
my_script.py:1: error: Skipping analyzing "gpiod": module is installed, but missing library stubs or py.typed marker [import-untyped]
my_script..py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)
Cheers,
JP
The text was updated successfully, but these errors were encountered:
Hi! This is already fixed in master and will be released as part of python3-gpiod v2.3.0. I'm just finishing the readthedocs integration as libgpiod was missing proper online docs for a long time. Give it a couple more weeks, please.
The python bindings appear to be typed, but the module is missing the py.typed marker, so it will not be analyzed as such. Mypy provides guidance:
mypy my_script.py
:Cheers,
JP
The text was updated successfully, but these errors were encountered: