Ruff

Linterby Tori @gettoriApache-2.0Bundled
Verified against
ruff 0.16.8Measured Sep 22, 2026
Platforms
macOS, Linux, Windows
Install
Uses your project's copy
Needs Tori
26.1009.0 or newer
Schema
Version 1
Id
ruff
Source file
lsp/ruff.toml ↗gettori/packs on GitHub

Add it in Tori

  1. Open Settings with the gear in the title bar.
  2. Go to Linters.
  3. Ruff is already there: it ships inside Tori. When the catalog has a newer version, Add a linter lists it with Update.

Adding writes one file and runs nothing. Tori runs the copy your project already installs.

Use it without the catalog

Download the file and drop it in the folder below. Tori loads it the next time it starts.

Download file ruff.toml
~/.config/tori/packs/lsp/

The file

ruff.tomlRead only
1# Ruff's language server, from the project's own virtualenv or the login PATH.2# See LSP-SERVERS.md.3#4# Diagnostics are pulled. Fix-all and organize imports come back without their5# edit and are filled in through `codeAction/resolve`.67schema_version = 18id = "ruff"9label = "Ruff"10description = "Ruff lint diagnostics and fixes beside the Python server"11license = "Apache-2.0"12contributor = { name = "Tori", github = "gettori" }13role = "secondary"1415# One session per repo: Ruff finds each file's own config.16root_markers = [".git"]1718activation_markers = ["ruff.toml", ".ruff.toml"]19activation_keys = [{ file = "pyproject.toml", key = "tool.ruff" }]2021verified_against = "ruff 0.16.8"22verified_on = "2026-09-22"2324[languages]25py = "python"26pyi = "python"2728[launch]29kind = "project_bin"30program = "ruff"31args = ["server"]