Skip to content

Commit bd82724

Browse files
Update settings in README (#219)
1 parent aa89748 commit bd82724

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ per workspace in Visual Studio Code.
3838

3939
## Settings
4040

41-
| Settings | Default | Description |
42-
| ---------------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
43-
| args | `[]` | Custom arguments passed to `ruff`. E.g `"args": ["--config=/path/to/pyproject.toml"]`. |
44-
| logLevel | `error` | Sets the tracing level for the extension. |
45-
| path | `[]` | Setting to provide custom `ruff` executables, to try in order. E.g. `["/path/to/ruff"]`. |
46-
| interpreter | `[]` | Path to a Python interpreter to use to run the linter server. |
47-
| importStrategy | `fromEnvironment` | Strategy for loading the `ruff` executable. `fromEnvironment` picks up Ruff from the environment, falling back to the bundled version if needed. `useBundled` uses the version bundled with the extension. |
48-
| showNotification | `off` | Whether a notification should be shown. |
49-
| organizeImports | `true` | Whether to register Ruff as capable of handling `source.organizeImports` actions. |
50-
| fixAll | `true` | Whether to register Ruff as capable of handling `source.fixAll` actions. |
41+
| Settings | Default | Description |
42+
| ---------------- | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
43+
| args | `[]` | Additional command-line arguments to pass to `ruff`, e.g., `"args": ["--config=/path/to/pyproject.toml"]`. Supports a subset of Ruff's command-line arguments, ignoring those that are required to operate the LSP, like `--force-exclude` and `--verbose`. |
44+
| logLevel | `error` | Sets the tracing level for the extension: `error`, `warn`, `info`, or `debug`. |
45+
| path | `[]` | Path to a custom `ruff` executable, e.g., `["/path/to/ruff"]`. |
46+
| interpreter | `[]` | Path to a Python interpreter to use to run the linter server. |
47+
| importStrategy | `fromEnvironment` | Strategy for loading the `ruff` executable. `fromEnvironment` picks up Ruff from the environment, falling back to the bundled version if needed. `useBundled` uses the version bundled with the extension. |
48+
| showNotification | `off` | Setting to control when a notification is shown. |
49+
| organizeImports | `true` | Whether to register Ruff as capable of handling `source.organizeImports` actions. |
50+
| fixAll | `true` | Whether to register Ruff as capable of handling `source.fixAll` actions. |
5151

5252
### Example configurations
5353

0 commit comments

Comments
 (0)