COMET icon indicating copy to clipboard operation
COMET copied to clipboard

Add missing library stubs or py.typed marker

Open jblemoine opened this issue 1 year ago • 0 comments

🚀 Feature

Add missing py.typed marker

Motivation

This proposal aims to make the project adhere to the PEP 561 standard for stub packages, thereby enabling type checking. Given that the project is largely typed, it could also benefit other packages that depend on comet and utilize mypy.

Alternatives

Another option is to configure mypy to disregard missing import errors in projects that rely on comet. For example by adding a # type: ignore at the end of the line containing the import.

Additional context

I'm using comet in my personal project, which has a CI step for type checking.

jblemoine avatar May 14 '24 16:05 jblemoine