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

Slow MyPy doesn't respect disabled Live-Mode option #11

Open
emendir opened this issue Apr 19, 2024 · 0 comments
Open

Slow MyPy doesn't respect disabled Live-Mode option #11

emendir opened this issue Apr 19, 2024 · 0 comments

Comments

@emendir
Copy link

emendir commented Apr 19, 2024

The MyPy plugin seems to run very slowly, perhaps blocking autocompletion and linting of other plugins.

Worst of all, unchecking the 'Live mode' option does not alleviate this problem.

Here is an overly compressed screencast (the editor UI looks laggy, which it isn't in real), demonstrating the problem.
Note that in the linter pane below, the code being linted is always several seconds out of date.
Even after the full expression has been written, the linter is still updating the code it is processing one character at a time, with many seconds in between.

Screencast.from.2024-04-19.13-03-22.webm

Installation details:

OS: Ubuntu 23.10
Pulsar: 1.109.0 (installed via nix-env)
Python (OS' installation): 3.11.6
Python packages:

  • jedi: 1.19.1
  • mypy: 1.8.0
  • pylsp-mypy: 0.6.8
  • python-lsp-server: 1.11.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant