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
I'm trying to (automatically) sort my imports on
save using python-lsp-ruff but the organize imports
of pylsp-rope makes me have to manually choose between
using ruff and rope for sorting.
Details
I've enabled pylsp-rope for its refactoring abilities.
I see that it also exports an implementation of source.organizeImports but I'm also using python-lsp-ruff 2.2.0 and would prefer to use its
builtin import sorting.
What my editor gives me is the possibility to manually
choose between the ruff version and the pylsp-rope
version when source.organizeImports gets invoked.
It would be neat if it was possible to disable the source.organizeImports implementation for pylsp-rope
so I didn't have to do this manually. Would it be possible
to export such a knob in the configuration? :)
The text was updated successfully, but these errors were encountered:
Description
I'm trying to (automatically) sort my imports on
save using
python-lsp-ruff
but the organize importsof
pylsp-rope
makes me have to manually choose betweenusing
ruff
andrope
for sorting.Details
I've enabled
pylsp-rope
for its refactoring abilities.I see that it also exports an implementation of
source.organizeImports
but I'm also usingpython-lsp-ruff
2.2.0 and would prefer to use itsbuiltin import sorting.
What my editor gives me is the possibility to manually
choose between the
ruff
version and thepylsp-rope
version when
source.organizeImports
gets invoked.It would be neat if it was possible to disable the
source.organizeImports
implementation forpylsp-rope
so I didn't have to do this manually. Would it be possible
to export such a knob in the configuration? :)
The text was updated successfully, but these errors were encountered: