mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-31 15:47:41 +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
|
@ -3,7 +3,7 @@
|
|||
# That's because the parser has no way of feeding the error recovery back to the lexer,
|
||||
# so they don't agree on the state of the world which can lead to all kind of errors further down in the file.
|
||||
# This is not just a problem with parentheses but also with the transformation made by the
|
||||
# `SoftKeywordTransformer` because the `Parser` and `Transfomer` may not agree if they're
|
||||
# `SoftKeywordTransformer` because the `Parser` and `Transformer` may not agree if they're
|
||||
# currently in a position where the `type` keyword is allowed or not.
|
||||
# That roughly means that any kind of recovery can lead to unrelated syntax errors
|
||||
# on following lines.
|
||||
|
@ -16,4 +16,4 @@ def multiple_commas[A,,B](): ...
|
|||
|
||||
def multiple_trailing_commas[A,,](): ...
|
||||
|
||||
def multiple_commas_and_recovery[A,,100](): ...
|
||||
def multiple_commas_and_recovery[A,,100](): ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue