mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 06:11:43 +00:00
Move Python whitespace utilities into new ruff_python_whitespace
crate (#4993)
## Summary `ruff_newlines` becomes `ruff_python_whitespace`, and includes the existing "universal newline" handlers alongside the Python whitespace-specific utilities.
This commit is contained in:
parent
e86f12a1ec
commit
1d756dc3a7
57 changed files with 153 additions and 140 deletions
|
@ -4,7 +4,7 @@
|
|||
use std::borrow::Cow;
|
||||
use std::cmp;
|
||||
|
||||
use ruff_newlines::StrExt;
|
||||
use ruff_python_whitespace::UniversalNewlines;
|
||||
|
||||
/// Indent each line by the given prefix.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue