mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:45:24 +00:00
Fix a few typos found by codespell (#11404)
## Summary Just fix typos. ## Test Plan CI jobs. --------- Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
This commit is contained in:
parent
6ecb4776de
commit
3b0584449d
8 changed files with 71 additions and 71 deletions
|
@ -287,7 +287,7 @@ RUF100_0.py:93:92: RUF100 [*] Unused `noqa` directive (unused: `F401`)
|
|||
RUF100_0.py:107:12: RUF100 [*] Unused `noqa` directive (unknown: `E50`)
|
||||
|
|
||||
105 | def f():
|
||||
106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 | d = 1 #
noqa: F841, E50
|
||||
| ^^^^^^^^^^^^^^^^^ RUF100
|
||||
108 | e = 1 #
noqa: E50
|
||||
|
@ -297,7 +297,7 @@ RUF100_0.py:107:12: RUF100 [*] Unused `noqa` directive (unknown: `E50`)
|
|||
ℹ Safe fix
|
||||
104 104 |
|
||||
105 105 | def f():
|
||||
106 106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 |- d = 1 #
noqa: F841, E50
|
||||
107 |+ d = 1 # noqa: F841
|
||||
108 108 | e = 1 #
noqa: E50
|
||||
|
@ -306,7 +306,7 @@ RUF100_0.py:107:12: RUF100 [*] Unused `noqa` directive (unknown: `E50`)
|
|||
|
||||
RUF100_0.py:108:5: F841 [*] Local variable `e` is assigned to but never used
|
||||
|
|
||||
106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 | d = 1 #
noqa: F841, E50
|
||||
108 | e = 1 #
noqa: E50
|
||||
| ^ F841
|
||||
|
@ -315,7 +315,7 @@ RUF100_0.py:108:5: F841 [*] Local variable `e` is assigned to but never used
|
|||
|
||||
ℹ Unsafe fix
|
||||
105 105 | def f():
|
||||
106 106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 107 | d = 1 #
noqa: F841, E50
|
||||
108 |- e = 1 #
noqa: E50
|
||||
109 108 |
|
||||
|
@ -324,7 +324,7 @@ RUF100_0.py:108:5: F841 [*] Local variable `e` is assigned to but never used
|
|||
|
||||
RUF100_0.py:108:12: RUF100 [*] Unused `noqa` directive (unknown: `E50`)
|
||||
|
|
||||
106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 | d = 1 #
noqa: F841, E50
|
||||
108 | e = 1 #
noqa: E50
|
||||
| ^^^^^^^^^^^ RUF100
|
||||
|
@ -333,7 +333,7 @@ RUF100_0.py:108:12: RUF100 [*] Unused `noqa` directive (unknown: `E50`)
|
|||
|
||||
ℹ Safe fix
|
||||
105 105 | def f():
|
||||
106 106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 107 | d = 1 #
noqa: F841, E50
|
||||
108 |- e = 1 #
noqa: E50
|
||||
108 |+ e = 1
|
||||
|
|
|
@ -267,7 +267,7 @@ RUF100_0.py:93:92: RUF100 [*] Unused `noqa` directive (unused: `F401`)
|
|||
RUF100_0.py:107:12: RUF100 [*] Unused `noqa` directive (unknown: `E50`)
|
||||
|
|
||||
105 | def f():
|
||||
106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 | d = 1 #
noqa: F841, E50
|
||||
| ^^^^^^^^^^^^^^^^^ RUF100
|
||||
108 | e = 1 #
noqa: E50
|
||||
|
@ -277,7 +277,7 @@ RUF100_0.py:107:12: RUF100 [*] Unused `noqa` directive (unknown: `E50`)
|
|||
ℹ Safe fix
|
||||
104 104 |
|
||||
105 105 | def f():
|
||||
106 106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 |- d = 1 #
noqa: F841, E50
|
||||
107 |+ d = 1 # noqa: F841
|
||||
108 108 | e = 1 #
noqa: E50
|
||||
|
@ -286,7 +286,7 @@ RUF100_0.py:107:12: RUF100 [*] Unused `noqa` directive (unknown: `E50`)
|
|||
|
||||
RUF100_0.py:108:5: F841 [*] Local variable `e` is assigned to but never used
|
||||
|
|
||||
106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 | d = 1 #
noqa: F841, E50
|
||||
108 | e = 1 #
noqa: E50
|
||||
| ^ F841
|
||||
|
@ -295,7 +295,7 @@ RUF100_0.py:108:5: F841 [*] Local variable `e` is assigned to but never used
|
|||
|
||||
ℹ Unsafe fix
|
||||
105 105 | def f():
|
||||
106 106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 107 | d = 1 #
noqa: F841, E50
|
||||
108 |- e = 1 #
noqa: E50
|
||||
109 108 |
|
||||
|
@ -304,7 +304,7 @@ RUF100_0.py:108:5: F841 [*] Local variable `e` is assigned to but never used
|
|||
|
||||
RUF100_0.py:108:12: RUF100 [*] Unused `noqa` directive (unknown: `E50`)
|
||||
|
|
||||
106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 | d = 1 #
noqa: F841, E50
|
||||
108 | e = 1 #
noqa: E50
|
||||
| ^^^^^^^^^^^ RUF100
|
||||
|
@ -313,7 +313,7 @@ RUF100_0.py:108:12: RUF100 [*] Unused `noqa` directive (unknown: `E50`)
|
|||
|
||||
ℹ Safe fix
|
||||
105 105 | def f():
|
||||
106 106 | # Invalid - nonexistant error code with multibyte character
|
||||
106 106 | # Invalid - nonexistent error code with multibyte character
|
||||
107 107 | d = 1 #
noqa: F841, E50
|
||||
108 |- e = 1 #
noqa: E50
|
||||
108 |+ e = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue