FreeOpcUa / opcua-asyncio

OPC UA library for python >= 3.7
GNU Lesser General Public License v3.0
1.04k stars 345 forks source link

py.typed marker missing #1619

Closed owillebo closed 2 months ago

owillebo commented 2 months ago

Describe the bug
When running mypy over code using asyncua I get; ...: error: Skipping analyzing "asyncua": module is installed, but missing library stubs or py.typed marker [import-untyped] ...: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

This is unneeded because asyncua provides excellent type info.

To Reproduce
Run mypy for the following code; import asyncua

Expected behavior
No mypy errors.

Version
Python-Version: Python 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] on win32 opcua-asyncio Version (e.g. master branch, 0.9): asyncua==1.1.0 mypy==1.9.0