poe-platform / fastapi_poe

A helper library for writing Poe API bots using FastAPI
Apache License 2.0
135 stars 25 forks source link

Use Ruff and enforce full type annotation coverage #60

Closed JelleZijlstra closed 8 months ago

JelleZijlstra commented 8 months ago

I got here because I was trying to get rid of some no-untyped-call mypy errors internally, which were because our __init__ method doesn't have annotations. To fix it thoroughly: