mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-15 08:00:19 +00:00
Unify line size settings between ruff and the formatter (#6873)
This commit is contained in:
parent
a6aa16630d
commit
e615870659
28 changed files with 227 additions and 190 deletions
|
@ -135,7 +135,7 @@ impl FormatOptions for PyFormatOptions {
|
|||
fn as_print_options(&self) -> PrinterOptions {
|
||||
PrinterOptions {
|
||||
tab_width: self.tab_width,
|
||||
print_width: self.line_width.into(),
|
||||
line_width: self.line_width,
|
||||
line_ending: LineEnding::LineFeed,
|
||||
indent_style: self.indent_style,
|
||||
source_map_generation: self.source_map_generation,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue