mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
Show source-type in formatter snapshot tests with options (#9699)
This commit is contained in:
parent
dacda0f202
commit
3c7fea769c
18 changed files with 51 additions and 2 deletions
|
@ -381,7 +381,8 @@ magic-trailing-comma = {magic_trailing_comma:?}
|
|||
docstring-code = {docstring_code:?}
|
||||
docstring-code-line-width = {docstring_code_line_width:?}
|
||||
preview = {preview:?}
|
||||
target_version = {target_version:?}"#,
|
||||
target_version = {target_version:?}
|
||||
source_type = {source_type:?}"#,
|
||||
indent_style = self.0.indent_style(),
|
||||
indent_width = self.0.indent_width().value(),
|
||||
line_width = self.0.line_width().value(),
|
||||
|
@ -391,7 +392,8 @@ target_version = {target_version:?}"#,
|
|||
docstring_code = self.0.docstring_code(),
|
||||
docstring_code_line_width = self.0.docstring_code_line_width(),
|
||||
preview = self.0.preview(),
|
||||
target_version = self.0.target_version()
|
||||
target_version = self.0.target_version(),
|
||||
source_type = self.0.source_type()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue