ruff/crates/ruff_python_formatter/tests
Charlie Marsh 3d03e75a9d
Force parentheses for power operations in unary expressions (#7955)
## Summary

E.g., given `-10**100`, reformat as `-(10**100)`.

Black special cases this (https://github.com/psf/black/pull/909) and
it's currently a deviation.

Closes https://github.com/astral-sh/ruff/issues/7951.
2023-10-15 21:41:50 -04:00
..
snapshots Force parentheses for power operations in unary expressions (#7955) 2023-10-15 21:41:50 -04:00
fixtures.rs Formatter and parser refactoring (#7569) 2023-09-26 15:29:43 +02:00