You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without the subcommand ruff seems to fallback to linting and does nothing to the buffer when trying to format through the LSP. Just adding str(subcommand) to the executable command fixes this for me.
The text was updated successfully, but these errors were encountered:
If the executable is specified in the LSP config, the command line to run ruff is constructed and executed in
python-lsp-ruff/pylsp_ruff/plugin.py
Lines 517 to 519 in c018265
This call is missing the subcommand to actually execute with ruff. Compare to the call constructed for the fallback usage of the Python module in
python-lsp-ruff/pylsp_ruff/plugin.py
Lines 527 to 529 in c018265
which includes
str(subcommand)
.Without the subcommand ruff seems to fallback to linting and does nothing to the buffer when trying to format through the LSP. Just adding
str(subcommand)
to the executable command fixes this for me.The text was updated successfully, but these errors were encountered: