-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Compile pylint with mypyc to improve performance. #5933
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
Comments
I am fully in favour of this sugesstion. Probably we also need to compile |
We've got a long way to go before being able to do that, right now astroid cannot activate mypy even without |
Totally agree, pylint is really slow these days. but i love it... |
The typing is fully done in pylint, we might have some benefits already, no idea how much. It's certainly not going to hurt if we try. |
Current problem
pylint seems kinda slow.
When I run it with
time
on a 400 LOC file:This is annoying when I cleanup warnings in my editor, because every time I fix one I have to wait 3 seconds until the warnings render again, in order to continue. This makes my Python workflow unsmooth, because I'm constantly waiting for the warnings to render.
Desired solution
Compile pylint with mypyc.
Additional context
I think
black
andmypy
are compiled withmypyc
.Maybe this would be an option for pylint is well?
Mypyc benchmarks look promising:
The text was updated successfully, but these errors were encountered: