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
example_pystemd.py:1: error: Skipping analyzing "pystemd": module is installed, but missing library stubs or py.typed marker [import-untyped]
example_pystemd.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)
Am I doing something wrong? Is mypy doing something wrong? or does this package not fully support typehints?
The text was updated successfully, but these errors were encountered:
FWIW
According to python/typing#1333
we might simply need an empty py.typed file in the pystemd folder. I cloned and tested this locally and it seems to work
I'm looking for a little guidance on type checking with mypy. I'm not sure why but I always get errors when using pystemd.
Tested on:
/etc/os-release
Using:
Steps to reproduce:
Mypy Output:
Am I doing something wrong? Is mypy doing something wrong? or does this package not fully support typehints?
The text was updated successfully, but these errors were encountered: