From 891a46c564ed6dad631fafb5d77ef4ca5803481f Mon Sep 17 00:00:00 2001 From: NotWearingPants <26556598+NotWearingPants@users.noreply.github.com> Date: Thu, 4 Apr 2024 19:50:55 +0300 Subject: [PATCH] docs: `Lint` -> `Format` in formatter.md (#10777) ## Summary Since #10217 the [formatter docs](https://docs.astral.sh/ruff/formatter/) contained ``` ruff format # Format all files in the current directory. ruff format path/to/code/ # Lint all files in `path/to/code` (and any subdirectories). ruff format path/to/file.py # Format a single file. ``` I believe the `Lint` here is a copy-paste typo from the [linter docs](https://docs.astral.sh/ruff/linter/). ## Test Plan N/A --- docs/formatter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/formatter.md b/docs/formatter.md index 04d04b14eaf3f1..c85b8c82c42c5e 100644 --- a/docs/formatter.md +++ b/docs/formatter.md @@ -12,7 +12,7 @@ directories, and formats all discovered Python files: ```shell ruff format # Format all files in the current directory. -ruff format path/to/code/ # Lint all files in `path/to/code` (and any subdirectories). +ruff format path/to/code/ # Format all files in `path/to/code` (and any subdirectories). ruff format path/to/file.py # Format a single file. ```