Skip to content

Linting

There are two types of linting diagnostics: Lint errors (each of which corresponds to a rule) and syntax errors. The latter is not reported by default, as it is expected that the same errors are already reported by the IDE.

Command line mode#

In Command line mode, the executable is invoked after every keystroke.

This is equivalent to running ruff check --no-fix with the file as input.

LSP modes#

In LSP modes, diagnostics are sent to the client via textDocument/publishDiagnostics notifications.