From c123562b2ca3c413f8a7ddd04edf12887970ec36 Mon Sep 17 00:00:00 2001 From: Mark Byrne Date: Wed, 17 Jan 2024 16:37:25 +0100 Subject: [PATCH] Documentation - update the link in CONTRIBUTING.md to point to the `ruff_python_parser` crate. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 498b7be22ae36..865bb6dc5ccc7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -618,7 +618,7 @@ Otherwise, follow the instructions from the linux section. utils with it: - `cargo dev print-ast `: Print the AST of a python file using the - [RustPython parser](https://github.com/astral-sh/RustPython-Parser/tree/main/parser) that is + [RustPython parser](https://github.com/astral-sh/ruff/tree/main/crates/ruff_python_parser) that is mainly used in Ruff. For `if True: pass # comment`, you can see the syntax tree, the byte offsets for start and stop of each node and also how the `:` token, the comment and whitespace are not represented anymore: