Update PyCharm setup instructions (#21409)

Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
charliecloudberry 2025-11-13 18:54:08 +01:00 committed by GitHub
parent e70fccbf25
commit d49c326309
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 0 deletions

View File

@ -361,6 +361,22 @@ and [LSP-ruff](https://github.com/sublimelsp/LSP-ruff) package.
## PyCharm
Starting with version 2025.3, PyCharm supports Ruff out of the box:
1. Go to **Python | Tools | Ruff** in the Settings dialog.
1. Select the **Enable** checkbox.
1. In the Execution mode setting, select how PyCharm should search for the executable:
**Interpreter** mode: PyCharm searches for an executable installed in your interpreter. To install the Ruff package for the selected interpreter, click _Install Ruff_.
**Path** mode: PyCharm searches for an executable in `$PATH`. If the executable is not found, you can specify the path by clicking the Browse... icon.
1. Select which options should be enabled.
For more information, refer to [PyCharm documentation](https://www.jetbrains.com/help/pycharm/2025.3/lsp-tools.html#ruff).
### Via External Tool
Ruff can be installed as an [External Tool](https://www.jetbrains.com/help/pycharm/configuring-third-party-tools.html)