mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-19 02:55:20 +00:00
Spellcheck & grammar (#10375)
## Summary I used `codespell` and `gramma` to identify mispellings and grammar errors throughout the codebase and fixed them. I tried not to make any controversial changes, but feel free to revert as you see fit.
This commit is contained in:
parent
c56fb6e15a
commit
3ed707f245
67 changed files with 135 additions and 170 deletions
|
@ -1936,7 +1936,7 @@ Comma<T>: Vec<T> = {
|
|||
}
|
||||
};
|
||||
|
||||
/// One ore more items that are separated by a comma.
|
||||
/// One or more items that are separated by a comma.
|
||||
OneOrMore<T>: Vec<T> = {
|
||||
<e:T> => vec![e],
|
||||
<mut v: OneOrMore<T>> "," <e:T> => {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// auto-generated: "lalrpop 0.20.0"
|
||||
// sha3: b432b8de1a23821d6d810de35f61842d7d7a40634f366ea4db38b33140e657d5
|
||||
// sha3: c98876ae871e13c1a0cabf962138ded61584185a0c3144b626dac60f707ea396
|
||||
use ruff_text_size::{Ranged, TextLen, TextRange, TextSize};
|
||||
use ruff_python_ast::{self as ast, Int, IpyEscapeKind};
|
||||
use crate::{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue