Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rate_limited decorator doesn't pass type checker #706

Open
jamesbraza opened this issue Nov 19, 2024 · 0 comments
Open

rate_limited decorator doesn't pass type checker #706

jamesbraza opened this issue Nov 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jamesbraza
Copy link
Collaborator

I tried to add --doctest-modules to pytest, but it doesn't work because the rate_limited decorator (from #520) doesn't pass 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.

@jamesbraza jamesbraza added the bug Something isn't working label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant