astral-sh/ruff-vscode

Hanging on "Start requested"

Closed this issue · 1 comments

I have just installed the extension in VS-Code
and this is what the logs show when i do Ruff: show logs

2024-09-25 11:43:08.103 [info] Name: Ruff
2024-09-25 11:43:08.103 [info] Module: ruff
2024-09-25 11:43:08.103 [info] Python extension loading
2024-09-25 11:43:08.103 [info] Waiting for interpreter from python extension.
2024-09-25 11:43:08.103 [info] Python extension loaded
2024-09-25 11:43:08.103 [info] Using interpreter: /home/frames/repos/cbh-parameters/.pixi/envs/dev/bin/python
2024-09-25 11:43:08.112 [info] Using the Ruff binary: /home/frames/repos/cbh-parameters/.pixi/envs/dev/bin/ruff
2024-09-25 11:43:08.122 [info] Resolved 'ruff.nativeServer: auto' to use the native server
2024-09-25 11:43:08.123 [info] Found Ruff 0.6.5 at /home/frames/repos/cbh-parameters/.pixi/envs/dev/bin/ruff
2024-09-25 11:43:08.123 [info] Server run command: /home/frames/repos/cbh-parameters/.pixi/envs/dev/bin/ruff server
2024-09-25 11:43:08.123 [info] Server: Start requested.

and it has just start there for like 3 minutes

normally i run ruff via pixi and it does seem from the logs to have picked up that install

❯ pixi run -e test ruff --version
ruff 0.6.5

VS-code version: 1.93.1
Extension version: v2024.50.0
OS: ubuntu

pyproject section

[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
    ".bzr",
    ".direnv",
    ".eggs",
    ".git",
    ".git-rewrite",
    ".hg",
    ".ipynb_checkpoints",
    ".mypy_cache",
    ".nox",
    ".pants.d",
    ".pixi",
    ".pyenv",
    ".pytest_cache",
    ".pytype",
    ".ruff_cache",
    ".svn",
    ".tox",
    ".venv",
    ".vscode",
    "__pypackages__",
    "_build",
    "buck-out",
    "build",
    "dist",
    "node_modules",
    "site-packages",
    "venv",
]

# Same as Black.
line-length = 120
indent-width = 4

# Assume Python 3.8
target-version = "py311"

[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`)  codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
preview = true
select = ["E", "F", "B", "N"]
ignore = []

# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []

# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

Nevermind, it is just that it doesn't display anything in the logs to indicate it has started successfully