alm0ra / mockafka-py

Mockafka-py is a Python library designed for in-memory mocking of Kafka.[aiokafka - confluence-kafka-python]
https://mockafka-py.readthedocs.io
MIT License
44 stars 11 forks source link

Enforce type validity and publish types in the package #116

Closed PeterJCLaw closed 2 months ago

PeterJCLaw commented 3 months ago

Builds on #115 (and #112); suggest reviewing those first.

This adds a mypy config which avoids some pitfalls but which the codebase already passes, then enforces mypy in CI and publishes the types in the package.