pytransitions / transitions

A lightweight, object-oriented finite state machine implementation in Python with many extensions
MIT License
5.49k stars 525 forks source link

Add a py.typed file #572

Closed peterschutt closed 1 year ago

peterschutt commented 2 years ago

Running mypy with:

[tool.mypy]
# ...
ignore_missing_imports = false
# ...
src/app/root_machine.py:6: error: Skipping analyzing "transitions": module is installed, but missing library stubs or py.typed marker  [import]
src/app/root_machine.py:6: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 3 source files)
ERROR: 1

On the surface the library appears to be well typed, would adding a py.typed file be ok?