Skip to content

Commit

Permalink
docs: Lint -> Format in formatter.md (#10777)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
NotWearingPants authored Apr 4, 2024
1 parent d02b106 commit fd8da66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/formatter.md
Original file line number Diff line number Diff line change
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 fd8da66

Please sign in to comment.