Ruff 2024.2 style (#9639)

This commit is contained in:
Micha Reiser
2024-02-29 09:30:54 +01:00
committed by GitHub
parent 0293908b71
commit a6f32ddc5e
47 changed files with 835 additions and 2362 deletions

View File

@@ -99,6 +99,7 @@ impl<'a> PyFormatContext<'a> {
}
/// Returns `true` if preview mode is enabled.
#[allow(unused)]
pub(crate) const fn is_preview(&self) -> bool {
self.options.preview().is_enabled()
}