Attempting to use this library in a project that uses mypy (e.g. openedx-core) results in a mypy error because it doesn't seem to have any type annotations:
signals.py:6: error: Skipping analyzing "openedx_events.tooling": module is installed, but missing library stubs or py.typed marker [import-untyped]
signals.py:6: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 247 source files)
To fix this:
- Add type annotations, and
- Add a
py.typed marker so the annotations will get installed and used.
Attempting to use this library in a project that uses mypy (e.g.
openedx-core) results in a mypy error because it doesn't seem to have any type annotations:To fix this:
py.typedmarker so the annotations will get installed and used.