mirror of
https://github.com/astral-sh/ruff
synced 2026-01-10 08:04:26 -05: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:
committed by
GitHub
parent
6ecb4776de
commit
3b0584449d
@@ -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](): ...
|
||||
|
||||
Reference in New Issue
Block a user