click-contrib / click-didyoumean

Enable git-like did-you-mean feature in click :sparkles:
MIT License
98 stars 9 forks source link

Declare typing support via `py.typed` file #16

Closed jwodder closed 3 months ago

jwodder commented 8 months ago

Running mypy on code that uses the latest version of click-didyoumean fails with the error message "module is installed, but missing library stubs or py.typed marker". It seems that this package gained type annotations in v0.2.0 (ref: #6), but because there is no py.typed file, mypy will not use the annotations when type-checking code that uses it.

To resolve this, please do the following:

Further references: