mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-06 08:30:42 +00:00
9 lines
245 B
Rust
9 lines
245 B
Rust
use ruff_db::{Db as SourceDb, Upcast, files::File};
|
|
|
|
use crate::PyFormatOptions;
|
|
|
|
#[salsa::db]
|
|
pub trait Db: SourceDb + Upcast<dyn SourceDb> {
|
|
/// Returns the formatting options
|
|
fn format_options(&self, file: File) -> PyFormatOptions;
|
|
}
|