Open jamesbraza opened 2 days ago
I tried to add --doctest-modules to pytest, but it doesn't work because the rate_limited decorator (from https://github.com/Future-House/paper-qa/pull/520) doesn't pass typeguard.
--doctest-modules
pytest
rate_limited
typeguard
In that PR we got rate_limited to pass mypy via type: ignore comments, but typeguard is not mypy. We should fix the typing of rate_limited.
mypy
type: ignore
I tried to add
--doctest-modules
topytest
, but it doesn't work because therate_limited
decorator (from https://github.com/Future-House/paper-qa/pull/520) doesn't passtypeguard
.In that PR we got
rate_limited
to passmypy
viatype: ignore
comments, buttypeguard
is notmypy
. We should fix the typing ofrate_limited
.