Skip to content

docs: Lint -> Format in formatter.md#10777

Merged
charliermarsh merged 1 commit intoastral-sh:mainfrom
SnirBroshi:patch-1
Apr 4, 2024
Merged

docs: Lint -> Format in formatter.md#10777
charliermarsh merged 1 commit intoastral-sh:mainfrom
SnirBroshi:patch-1

Conversation

@SnirBroshi
Copy link
Contributor

Summary

Since #10217 the formatter docs 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.

Test Plan

N/A

Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Apr 4, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) April 4, 2024 16:49
@charliermarsh charliermarsh merged commit fd8da66 into astral-sh:main Apr 4, 2024
Glyphack pushed a commit to Glyphack/ruff that referenced this pull request Apr 12, 2024
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants