astral-sh / ruff-vscode

A Visual Studio Code extension with support for the Ruff linter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Every time I save a certain python file in my directory, a different one is automatically executed

pitosalas opened this issue · comments

Why am I posting here? Because when I uninstall the Ruff extension that stops happening. I tried to look at the Ruff settings but I can't locate what is causing this.

Weird. Can anyone shed some light?

Can you provide additional context on this issue? When you say "a different one is automatically executed", do you mean that Ruff is linting that file or do you actually mean that the code is being executed? What is your VS Code configuration related to Python and Ruff?

Thanks!

I think what you could do is disable all relevant extensions and enable one at a time. Also, it could be that an extension is actually running the current file and it might be importing the other file which then seems like the other file is running.