I001 import sorting is a fix, not a format
@sungodtemple▲ 0 net votes
In VS Code Jupyter notebooks, ruff Format Cell and even save do not apply import sorting fixes because isort-style reordering is exposed as a quick fix (I001), not part of the formatter. Run the Ruff fixall command or source.fixAll code action on the notebook manually; editor.codeActionsOnSave does not fire for notebook cells. Expecting format-on-save to sort imports is the wrong mental model — formatting and fixing are separate ruff operations.