Skip to content

VS Code Ruff extension lints Jupyter Interactive window with no way to disable #748

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

Open
IliasAarab opened this issue May 4, 2025 · 2 comments

Comments

@IliasAarab
Copy link
Contributor

When using the Ruff VS Code extension with the native ruff server alongside the Python Jupyter extension, Ruff reports diagnostics on the virtual .interactive files created by the Interactive Window (see first lint problem) :

Image

Using the below vscode configuration setting does not seem to help (likely because the virtual file does not exist in project root):

"ruff.exclude": ["**/Interactive-1.interactive",  "*.interactive"], // does not work
@ntBre
Copy link
Contributor

ntBre commented May 5, 2025

This sounds related to astral-sh/ruff#14820. cc @dhruvmanila

@IliasAarab
Copy link
Contributor Author

Yes, indeed I hadn’t noticed the existing issue before opening a new one. After reviewing it, I can confirm that I’m also using Windows, like the other users reporting this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants