Introduce lines_before helper (#4780)

This commit is contained in:
Micha Reiser 2023-06-01 11:56:43 +02:00 committed by GitHub
parent d4027d8b65
commit 4ea4fd1984
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 76 additions and 1 deletions

View file

@ -1,4 +1,4 @@
#[allow(unused_imports)]
pub(crate) use crate::{AsFormat, FormattedIterExt as _, IntoFormat, PyFormatContext};
pub(crate) use crate::{AsFormat, FormattedIterExt as _, IntoFormat, PyFormatContext, PyFormatter};
#[allow(unused_imports)]
pub(crate) use ruff_formatter::prelude::*;