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:
Tom Kuson 2023-08-15 08:33:57 +01:00 committed by GitHub
parent 455db84a59
commit 84d178a219
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 451 additions and 2 deletions

View file

@ -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;