-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Fix all" code action on notebook causes panic with multi-byte character #12880
Comments
(I'll look into this in some time.) |
Thank you for providing all the details. Although, I'm unable to reproduce this panic. Can you provide your VS Code settings? By "formatOnSave", do you mean |
Thank you @dhruvmanila for investigating. It happens when I press "command + s" or implement "Ruff: fix all auto-fixable problems" in command palette. Environment: My vscode profile for python is below.
|
Thanks for providing the details. I can reproduce it using the "Fix all" code action. |
It doesn't occur when performing the action via the command-line ( |
List of keywords you searched for before creating this issue. Write them down here so that others can find this issue more easily and help provide feedback.
keywords: panic, Q000
A minimal code snippet that reproduces the bug.
test.zip
The command you invoked (e.g.,
ruff /path/to/file.py --fix
), ideally including the--isolated
flag.Implemented formatOnSave of VSCode for notebook
The current Ruff settings (any relevant sections from your
pyproject.toml
).ruff.toml.zip
The current Ruff version (
ruff --version
).ruff 0.5.7
ruff vscode extension v2024.40.0
Eror message
The text was updated successfully, but these errors were encountered: