mirror of https://github.com/astral-sh/ruff
## Summary When negating an expression like `a or b`, we need to wrap it in parentheses, e.g., `not (a or b)` instead of `not a or b`, due to operator precedence. Closes https://github.com/astral-sh/ruff/issues/10335. ## Test Plan `cargo test` |
||
|---|---|---|
| .. | ||
| helpers.rs | ||
| matchers.rs | ||
| mod.rs | ||