lbbrhzn/ocpp

Ruff keeps spinning in VS Code Dev Container environment

rinigus opened this issue · 3 comments

With the current config, I have indicator next to Python (bottom right in VS Code) constantly spinning. When clicking on it, I get spinning indicator next to Ruff. Corresponding log is:

2024-09-09 19:37:04.499 [info] Name: Ruff
2024-09-09 19:37:04.499 [info] Module: ruff
2024-09-09 19:37:04.499 [info] Python extension loading
2024-09-09 19:37:04.499 [info] Waiting for interpreter from python extension.
2024-09-09 19:37:04.579 [info] Python extension loaded
2024-09-09 19:37:04.583 [info] Using interpreter: /usr/local/bin/python
2024-09-09 19:37:04.665 [info] Falling back to bundled executable: /home/vscode/.vscode-server/extensions/charliermarsh.ruff-2024.44.0-linux-x64/bundled/libs/bin/ruff
2024-09-09 19:37:04.672 [info] Resolved 'ruff.nativeServer: auto' to use the native server
2024-09-09 19:37:04.679 [info] Found Ruff 0.6.4 at /home/vscode/.vscode-server/extensions/charliermarsh.ruff-2024.44.0-linux-x64/bundled/libs/bin/ruff
2024-09-09 19:37:04.679 [info] Server run command: /home/vscode/.vscode-server/extensions/charliermarsh.ruff-2024.44.0-linux-x64/bundled/libs/bin/ruff server
2024-09-09 19:37:04.680 [info] Server: Start requested.

If this expected?

Dev Container was requested to be rebuilt and it looks to have been able to do that.

same here. . it appears to work fine, at least if you add update the settings to include:
"python.analysis.extraPaths": [ "/home/vscode/.local/lib/python3.12/site-packages" ],

That's bit strange. I'll keep it open here and look if it is the same when ruff is configured in some other project.

Stale issue message