mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:39:12 +00:00
Fix typos found by codespell (#5607)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary Fix typos found by [codespell](https://github.com/codespell-project/codespell). I have left out `memoize` for now (see #5606). <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan CI tests. <!-- How was it tested? -->
This commit is contained in:
parent
0b9af031fb
commit
efe7c393d1
12 changed files with 16 additions and 17 deletions
|
@ -32,7 +32,7 @@ b
|
|||
}
|
||||
|
||||
{
|
||||
**a # comment before preceeding node's comma
|
||||
**a # comment before preceding node's comma
|
||||
,
|
||||
# before
|
||||
** # between
|
||||
|
@ -91,7 +91,7 @@ a = {
|
|||
}
|
||||
|
||||
{
|
||||
**a, # comment before preceeding node's comma
|
||||
**a, # comment before preceding node's comma
|
||||
# before
|
||||
**b, # between
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ if "Let's" "start" "with" "a" "simple" "example" "now repeat after me:" "I am co
|
|||
|
||||
(
|
||||
# leading
|
||||
"a" # trailing part commen
|
||||
"a" # trailing part comment
|
||||
|
||||
# leading part comment
|
||||
|
||||
|
@ -255,7 +255,7 @@ if (
|
|||
|
||||
(
|
||||
# leading
|
||||
"a" # trailing part commen
|
||||
"a" # trailing part comment
|
||||
# leading part comment
|
||||
"b" # trailing second part comment
|
||||
# trailing
|
||||
|
@ -403,7 +403,7 @@ if (
|
|||
|
||||
(
|
||||
# leading
|
||||
'a' # trailing part commen
|
||||
'a' # trailing part comment
|
||||
# leading part comment
|
||||
'b' # trailing second part comment
|
||||
# trailing
|
||||
|
|
|
@ -24,7 +24,7 @@ input_file: crates/ruff_python_formatter/resources/test/fixtures/ruff/skip_magic
|
|||
"fifth entry",
|
||||
"sixt entry",
|
||||
"seventh entry",
|
||||
"eigth entry",
|
||||
"eighth entry",
|
||||
)
|
||||
```
|
||||
|
||||
|
@ -54,7 +54,7 @@ magic-trailing-comma = Respect
|
|||
"fifth entry",
|
||||
"sixt entry",
|
||||
"seventh entry",
|
||||
"eigth entry",
|
||||
"eighth entry",
|
||||
)
|
||||
```
|
||||
|
||||
|
@ -80,7 +80,7 @@ magic-trailing-comma = Ignore
|
|||
"fifth entry",
|
||||
"sixt entry",
|
||||
"seventh entry",
|
||||
"eigth entry",
|
||||
"eighth entry",
|
||||
)
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue