Skip to content

Commit

Permalink
docs: Lint -> Format in formatter.md (astral-sh#10777)
Browse files Browse the repository at this point in the history
## Summary

Since astral-sh#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
  • Loading branch information
NotWearingPants authored and Glyphack committed Apr 12, 2024
1 parent 1287477 commit 891a46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/formatter.md
Expand Up @@ -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.
```

Expand Down

0 comments on commit 891a46c

Please sign in to comment.