claws / aioprometheus

A Prometheus Python client library for asyncio-based applications
174 stars 21 forks source link

Expose type information to dependent packages #67

Closed vladimir-kotikov closed 2 years ago

vladimir-kotikov commented 2 years ago

According to PEP-561 when package already uses inline types the only thing that is needed to enable type checking on the package is to add py.typed file to a package content.

This allows other packages that currently depend on aioprometheus to perform type checking witout adding aioprometheus to mypy ignores.