Release Notes: - N/A
Showing the changes to docs/src/languages/python.md (1 of 1 file). Show all
Unified · Split
| @@ -98,9 +98,9 @@ You can also configure this option directly in your `settings.json` file ([pyrig · 97 unmodified lines | |||
| 98 | 98 | ||
| 99 | The Pyright language server does not provide code formatting or linting. If you want to detect lint errors and reformat your Python code upon saving, you'll need to set up. | 99 | The Pyright language server does not provide code formatting or linting. If you want to detect lint errors and reformat your Python code upon saving, you'll need to set up. |
| 100 | 100 | ||
| 101 | A common tool for formatting Python code is [Ruff](https://black.readthedocs.io/en/stable/). It is another tool written in Rust, an extremely fast Python linter and code formatter. | 101 | A common tool for formatting Python code is [Ruff](https://docs.astral.sh/ruff/). It is another tool written in Rust, an extremely fast Python linter and code formatter. |
| 102 | 102 | ||
| 103 | It is available through the [Ruff extension](https://docs.astral.sh/ruff/). However, the code formatting through the extension is not yet available. You can set up the formatter to run on save by adding the following configuration to your `settings.json`, assuming that [`Ruff`](https://docs.astral.sh/ruff/) is installed in your Python environment. | 103 | It is available through the [Ruff extension](https://github.com/zed-industries/zed/tree/main/extensions/ruff/). However, the code formatting through the extension is not yet available. You can set up the formatter to run on save by adding the following configuration to your `settings.json`, assuming that [`Ruff`](https://docs.astral.sh/ruff/) is installed in your Python environment. |
| 104 | 104 | ||
| 105 | ```json | 105 | ```json |
| 106 | { | 106 | { |