Skip to content

Commit 09518aa

Browse files
committed
cleanup
1 parent 432312d commit 09518aa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ There also exists an [AUR package](https://aur.archlinux.org/packages/python-lsp
1919

2020
# Usage
2121

22-
This plugin will disable `flake8`, `pycodestyle`, `pyflakes` and `mccabe` by default.
22+
This plugin will disable `flake8`, `pycodestyle`, `pyflakes`, `mccabe` and `isort` by default.
2323
When enabled, all linting diagnostics will be provided by `ruff`.
24+
Sorting of the imports through `ruff` when formatting is enabled by default.
25+
The list of code fixes can be changed via the `pylsp.plugins.ruff.format` option.
2426

25-
This plugin will disable `pyls_isort` by default.
2627
When enabled, sorting of imports when formatting will be provided by `ruff`.
2728

2829
# Configuration

pylsp_ruff/plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
from pylsp_ruff.settings import PluginSettings, get_converter
2929

3030
log = logging.getLogger(__name__)
31+
logging.getLogger("blib2to3").setLevel(logging.ERROR)
3132
converter = get_converter()
3233

3334
DIAGNOSTIC_SOURCE = "ruff"

0 commit comments

Comments
 (0)