Closed MarkusSintonen closed 2 years ago
This also happens in the repository it self when running mypy over the unit test code. Same errors happen eg in https://github.com/HENNGE/aiodynamo/blob/master/tests/integration/conftest.py#L142. As an idea it would be good to run mypy over the unit test code here instead of just running it over
src
as defined in themypy.ini
. It would avoid the type breakage:
I even had mypy set up to run on CI to catch such issues... Thank you for your report, I'll look into it.
By the way: make sure to upgrade to 22.2.1 since 22.2 has a rather nasty bug with regards to error handling.
@MarkusSintonen I'd appreciate it if you could review #120
Mypy has started to give errors such as
Client" has incompatible type "HTTPX"; expected "FixedCallable[Request, Awaitable[Response]]
after version 22.2. This happens when trying to use aiodynamo as documented here https://github.com/HENNGE/aiodynamo#with-httpx and running mypy (eg with default settings in v0.931).This also happens in the repository it self when running mypy over the unit test code. Same errors happen eg in https://github.com/HENNGE/aiodynamo/blob/master/tests/integration/conftest.py#L142. As an idea it would be good to run mypy over the unit test code here instead of just running it over
src
as defined in themypy.ini
. It would avoid the type breakage:Thank you all for the awesome library!