Skip to content

Add py.typed and typing #468

@Goldziher

Description

@Goldziher

Hi,

This library is untyped:

nlp/sentiment.py:1: error: Skipping analyzing "textblob": module is installed, but missing library stubs or py.typed marker  [import-untyped]
nlp/sentiment.py:8: error: Type of variable becomes "Any" due to an unfollowed import  [no-any-unimported]
nlp/sentiment.py:9: error: Type of variable becomes "list[Any]" due to an unfollowed import  [no-any-unimported]

To fix this, a py.typed file has to be included in the package. Additionally, it should actually be properly typed.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions