From 55fbafee356e8f3b48ebe4e64fcc6a3b585fc386 Mon Sep 17 00:00:00 2001 From: Vladimir Kukushkin Date: Fri, 2 Aug 2024 17:16:13 +0300 Subject: [PATCH] docs: Fix Ruff-related links (#15511) Release Notes: - N/A --- docs/src/languages/python.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/languages/python.md b/docs/src/languages/python.md index 99f28077dcda50837db1e808fae687e866d32130..aa279f2b2dae186f84c842af4a3110a23ab321f9 100644 --- a/docs/src/languages/python.md +++ b/docs/src/languages/python.md @@ -98,9 +98,9 @@ You can also configure this option directly in your `settings.json` file ([pyrig 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. -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. +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. -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. +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. ```json {