ruff/crates/ruff_linter
Zanie Blue bd99175fea
Update D208 to preserve indentation offsets when fixing overindented lines (#8699)
Closes https://github.com/astral-sh/ruff/issues/8695

We track the smallest offset seen for overindented lines then only
reduce the indentation of the lines that far to preserve indentation in
other lines. This rule's behavior now matches our formatter, which is
nice.

We may want to gate this with preview.
2023-11-16 22:11:07 -06:00
..
resources/test Update D208 to preserve indentation offsets when fixing overindented lines (#8699) 2023-11-16 22:11:07 -06:00
src Update D208 to preserve indentation offsets when fixing overindented lines (#8699) 2023-11-16 22:11:07 -06:00
Cargo.toml Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00