mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-14 15:40:20 +00:00
Use one line between top-level items if formatting a stub file (#6501)
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
455db84a59
commit
84d178a219
7 changed files with 451 additions and 2 deletions
|
@ -72,6 +72,10 @@ impl PyFormatOptions {
|
|||
self.quote_style
|
||||
}
|
||||
|
||||
pub fn source_type(&self) -> PySourceType {
|
||||
self.source_type
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn with_quote_style(mut self, style: QuoteStyle) -> Self {
|
||||
self.quote_style = style;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue