mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 22:31:47 +00:00
![]() ## 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 |