ruff_python_formatter 0.0.5

This is an internal component crate of Ruff
Documentation
1
2
3
4
5
6
7
8
9
use ruff_db::{Db as SourceDb, files::File};

use crate::PyFormatOptions;

#[salsa::db]
pub trait Db: SourceDb {
    /// Returns the formatting options
    fn format_options(&self, file: File) -> PyFormatOptions;
}