-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I was a little too fast and created some stubs for the typeshed project in order to allow for type checking code using this library according to PEP 561 (see here for the pull request). However, I was made aware that most of this library is already typed, so to enable type checking for nanoleafapi, all one has to do is
- add an empty
py.typedfile - add the following to
setup.py
setup(
...,
package_data = {
'nanoleafapi': ['py.typed'],
},
...,
)
This would explicitly allow type checking for nanoleafapi, e.g. in VS Code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels