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

Trigger re-run of ruff on the whole code base

rngadam opened this issue · comments

We use ruff as part of our continuous build:

image

Because we have ruff warnings, I checked out the source in Codespace.

I have the ruff-vscode extension installed.

I'd expect to have the same list of linting issues in my Problems views.

There are only options to run on save and run on type in the configuration.

The commands palette doesn't seem to have a way to trigger for all the source:

image

WORKAROUND

pip install ruff
ruff check .

and then open each file that has warnings at the command-line.

I think this might be the same #145 -- does that seem right?

(Merging into #145.)