ruff
6a4dbd62 - Add optimized `best_fit_parenthesize` IR (#7475)

Comment changes are shownComment changes are hidden
Commit
1 year ago
Add optimized `best_fit_parenthesize` IR (#7475)
Author
Parents
  • crates
    • ruff_formatter/src
      • File
        builders.rs
      • format_element
        • File
          document.rs
        • File
          tag.rs
      • printer
        • File
          mod.rs
    • ruff_python_formatter
      • resources/test/fixtures/ruff/expression
        • File
          unsplittable.py
      • src/expression
        • File
          expr_constant.rs
        • File
          expr_f_string.rs
        • File
          expr_name.rs
        • File
          mod.rs
        • File
          parentheses.rs
      • tests/snapshots
        • format@expression__unsplittable.py.snap