From 2e67c8e94b88d8ba27dfc41ed077099058ca5dec Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 25 Jan 2024 06:37:24 -0800 Subject: [PATCH] Fix typo in README (#369) --- README.md | 2 +- justfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5895a1b..35eebb5 100644 --- a/README.md +++ b/README.md @@ -251,8 +251,8 @@ the following settings are supported: | format.args | `[]` | Additional command-line arguments to pass to `ruff format`, 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`. | | ignoreStandardLibrary | `true` | Whether to ignore files that are inferred to be part of the Python standard library. | | interpreter | `[]` | Path to a Python interpreter to use to run the linter server. | -| line.enable | `true` | Whether to enable linting. Set to `false` to use Ruff exclusively as a formatter. | | lint.args | `[]` | Additional command-line arguments to pass to `ruff check`, 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`. | +| lint.enable | `true` | Whether to enable linting. Set to `false` to use Ruff exclusively as a formatter. | | lint.run | `onType` | Run Ruff on every keystroke (`onType`) or on save (`onSave`). | | logLevel | `error` | Sets the tracing level for the extension: `error`, `warn`, `info`, or `debug`. | | organizeImports | `true` | Whether to register Ruff as capable of handling `source.organizeImports` actions. | diff --git a/justfile b/justfile index 3c5bc44..574d872 100644 --- a/justfile +++ b/justfile @@ -9,8 +9,8 @@ install: pip install --no-deps -r requirements-dev.txt fmt: + ruff check --fix-only ./ruff_lsp ./tests ruff format ./ruff_lsp ./tests - ruff check --fix ./ruff_lsp ./tests check: ruff check ./ruff_lsp ./tests