From 9ee8896b6449edfa06e8eb08102590a7478193af Mon Sep 17 00:00:00 2001 From: marcus-daily <111281783+marcus-daily@users.noreply.github.com> Date: Thu, 31 Oct 2024 16:15:59 +0000 Subject: [PATCH] Removing unnecessary ruff arguments from README --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 44e8a060d..f387f9a87 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ You can use [use-package](https://github.com/jwiegley/use-package) to install [e :ensure t :hook ((python-mode . lazy-ruff-mode)) :config - (setq lazy-ruff-format-command "ruff format --config line-length=100") + (setq lazy-ruff-format-command "ruff format") (setq lazy-ruff-only-format-block t) (setq lazy-ruff-only-format-region t) (setq lazy-ruff-only-format-buffer t)) @@ -197,14 +197,13 @@ You can use [use-package](https://github.com/jwiegley/use-package) to install [e ### Visual Studio Code Install the -[Ruff](https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff) extension. Then edit the user settings (_Ctrl-Shift-P_ `Open User Settings (JSON)`) and set it as the default Python formatter, enable formatting on save and configure `ruff` arguments: +[Ruff](https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff) extension. Then edit the user settings (_Ctrl-Shift-P_ `Open User Settings (JSON)`) and set it as the default Python formatter, and enable formatting on save: ```json "[python]": { "editor.defaultFormatter": "charliermarsh.ruff", "editor.formatOnSave": true -}, -"ruff.format.args": ["--config", "line-length=100"] +} ``` ## Getting help