mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-18 17:41:12 +00:00
Fixing more spelling errors (#16926)
## Summary Here I fix the last English spelling errors I could find in the repo. Again, I am trying not to touch variable/function names, or anything that might be misspelled in the API. The goal is to make this PR safe and easy to merge. ## Test Plan I have run all the unit tests. Though, again, all of the changes I make here are to docs and docstrings. I make no code changes, which I believe should greatly mitigate the testing concerns.
This commit is contained in:
parent
902d86e79e
commit
3899f7156f
8 changed files with 10 additions and 10 deletions
|
@ -3124,7 +3124,7 @@ lambda: fu
|
|||
|
||||
#[test]
|
||||
fn redefined_by_gen_exp() {
|
||||
// Re-using a global name as the loop variable for a generator
|
||||
// Reusing a global name as the loop variable for a generator
|
||||
// expression results in a redefinition warning.
|
||||
flakes(
|
||||
"import fu; (1 for fu in range(1))",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue