Skip to content
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

Ruff VSCode extension(v2024.10.0) adds a blank line at the end when formatting cell #408

Open
Tracked by #480
Fresh-Mint opened this issue Feb 16, 2024 · 2 comments
Labels
question Further information is requested

Comments

@Fresh-Mint
Copy link

Ruff VSCode extension(v2024.10.0) adds a blank line at the end when formatting cell

REPRODUCTION
Configure RUFF as formatter.
Create a jupyter notebook with a cell with a = 1.
From the context menu for the cell, select Format cell.

@JulianCologne
Copy link

I personally had this "bug" appear over the last x versions already but it is hard to reproduce for me.
It happens quite frequently but a vscode restart always fixes it 😄

@dhruvmanila
Copy link
Member

Hi, thanks for the report. Unfortunately, I cannot reproduce this with the steps you've provided. Can you provide some more details?

  • Ruff version
  • VS Code settings for Ruff and Python
  • Any Ruff configuration used (pyproject.toml, ruff.toml?)
Screen.Recording.2024-02-18.at.11.29.47.mov

(Transferring this issue to the ruff-vscode repository.)

@dhruvmanila dhruvmanila transferred this issue from astral-sh/ruff Feb 18, 2024
@dhruvmanila dhruvmanila added the question Further information is requested label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants