mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-08 01:20:29 +00:00
9 lines
214 B
Rust
9 lines
214 B
Rust
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;
|
|
}
|