Update insta snapshots (#14366)

This commit is contained in:
Micha Reiser 2024-11-15 19:31:15 +01:00 committed by GitHub
parent 81e5830585
commit c847cad389
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2595 changed files with 3052 additions and 2578 deletions

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/debug.rs
expression: comments.debug(source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,5 +1,6 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{}

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/comments/mod.rs
expression: comments.debug(test_case.source_code)
snapshot_kind: text
---
{
Node {

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/src/lib.rs
expression: "output.print().expect(\"Printing to succeed\").as_code()"
snapshot_kind: text
---
"aaaaaaaaaa bbbbbbbbbb cccccccccc dddddddddd eeeeeeeeee ffffffffff gggggggggg h"
(

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/allow_empty_first_line.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/backslash_before_indent.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/class_blank_parentheses.py
snapshot_kind: text
---
## Input
@ -115,5 +116,3 @@ class NormalClass:
sum = first + second
return sum
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/comment_after_escaped_newline.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments2.py
snapshot_kind: text
---
## Input
@ -613,5 +614,3 @@ instruction() # comment with bad spacing
# END COMMENTS
# MORE END COMMENTS
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments6.py
snapshot_kind: text
---
## Input
@ -435,5 +436,3 @@ call_to_some_function_asdf(
aaaaaaaaaaaaa, bbbbbbbbb = map(list, map(itertools.chain.from_iterable, zip(*items))) # type: ignore[arg-type]
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments9.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments_in_blocks.py
snapshot_kind: text
---
## Input
@ -378,5 +379,3 @@ if (
):
print("Foo")
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/comments_in_double_parens.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/composition.py
snapshot_kind: text
---
## Input
@ -610,5 +611,3 @@ class C:
}
)
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/composition_no_trailing_comma.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/conditional_expression.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/context_managers_39.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/context_managers_autodetect_39.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/docstring_no_string_normalization.py
snapshot_kind: text
---
## Input
@ -461,5 +462,3 @@ def multiline_backslash_3():
'''
already escaped \\'''
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/dummy_implementations.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/empty_lines.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/expression.py
snapshot_kind: text
---
## Input
@ -1028,5 +1029,3 @@ bbbb >> bbbb * bbbb
last_call()
# standalone comment at ENDMARKER
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff4.py
snapshot_kind: text
---
## Input
@ -93,5 +94,3 @@ def f():
def f():
pass
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtonoff5.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtpass_imports.py
snapshot_kind: text
---
## Input
@ -89,5 +90,3 @@ import sys
import tempfile
import zoneinfo
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtskip5.py
snapshot_kind: text
---
## Input
@ -59,5 +60,3 @@ if (
else:
print("I'm bad")
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/fmtskip9.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/form_feeds.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/funcdef_return_type_trailing_comma.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/function.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/function2.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/function_trailing_comma.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/ignore_pyi.pyi
snapshot_kind: text
---
## Input
@ -86,5 +87,3 @@ def h():
...
# bye
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/keep_newline_after_match.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_diff_edge_case.py
snapshot_kind: text
---
## Input
@ -70,5 +71,3 @@ print("format me")
print("format me")
print("format me")
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/line_ranges_fmt_off_decorator.py
snapshot_kind: text
---
## Input
@ -101,5 +102,3 @@ class MyClass:
def func():
pass
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/multiline_consecutive_open_parentheses_ignore.py
snapshot_kind: text
---
## Input
@ -87,5 +88,3 @@ print("111") # type: ignore
print("111") # type: ignore
print("111") # type: ignore
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/nested_stub.pyi
snapshot_kind: text
---
## Input
@ -141,5 +142,3 @@ class TopLevel:
field = 1
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/no_blank_line_before_docstring.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/pattern_matching_style.py
snapshot_kind: text
---
## Input
@ -182,5 +183,3 @@ match match():
):
pass
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/pattern_matching_trailing_comma.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/pattern_matching_with_if_stmt.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/pep604_union_types_line_breaks.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/pep_701.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/prefer_rhs_split.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_allow_empty_first_line.py
snapshot_kind: text
---
## Input
@ -322,5 +323,3 @@ def top_level(
def nested(x: int) -> int:
pass
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_allow_empty_first_line_in_special_cases.py
snapshot_kind: text
---
## Input
@ -214,5 +215,3 @@ def baz():
if x:
a = 123
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_cantfit.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_cantfit_string.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_comments7.py
snapshot_kind: text
---
## Input
@ -596,5 +597,3 @@ square = Square(4) # type: Optional[Square]
),
]
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_docstring_no_string_normalization.py
snapshot_kind: text
---
## Input
@ -64,5 +65,3 @@ def do_not_touch_this_prefix2():
def do_not_touch_this_prefix3():
u'''There was a bug where docstring prefixes would be normalized even with -S.'''
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_form_feeds.py
snapshot_kind: text
---
## Input
@ -454,5 +455,3 @@ a = []
# form feeds at the very end get removed.
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_hug_parens_with_braces_and_square_brackets.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_hug_parens_with_braces_and_square_brackets_no_ll1.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_dict_values.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__east_asian_width.py
snapshot_kind: text
---
## Input
@ -71,5 +72,3 @@ japanese = (
"改行が要る文字列"
)
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__edge_case.py
snapshot_kind: text
---
## Input
@ -336,5 +337,3 @@ msg += (
)
msg += "This long string should not be split at any point ever since it is just righttt"
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_long_strings__type_annotations.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_multiline_strings.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_pattern_matching_trailing_comma.py
snapshot_kind: text
---
## Input
@ -100,5 +101,3 @@ match more := (than, one), indeed,:
case _:
pass
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_percent_precedence.py
snapshot_kind: text
---
## Input
@ -95,5 +96,3 @@ await ("" % a)
b[("" % a)]
b(("" % a))
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_prefer_rhs_split.py
snapshot_kind: text
---
## Input
@ -350,5 +351,3 @@ a = (
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
) = ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_return_annotation_brackets_string.py
snapshot_kind: text
---
## Input
@ -64,5 +65,3 @@ def frobnicate(
) -> "ThisIsTrulyUnreasonablyExtremelyLongClassName | list[ThisIsTrulyUnreasonablyExtremelyLongClassName]":
pass
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/preview_single_line_format_skip_with_multiple_comments.py
snapshot_kind: text
---
## Input
@ -59,5 +60,3 @@ baz = "a" + "b" # pylint; fmt: skip; noqa: E501
skip_will_not_work = "a" + "b" # pylint fmt:skip
skip_will_not_work2 = "a" + "b" # some text; fmt:skip happens to be part of it
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/raw_docstring.py
snapshot_kind: text
---
## Input
@ -75,5 +76,3 @@ class SingleQuotes:
class UpperCaseR:
R"""Raw"""
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/raw_docstring_no_string_normalization.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/remove_await_parens.py
snapshot_kind: text
---
## Input
@ -341,5 +342,3 @@ async def main():
await a[b]
await a[b**c]
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/remove_except_parens.py
snapshot_kind: text
---
## Input
@ -151,5 +152,3 @@ except (
) as err:
raise err
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/remove_for_brackets.py
snapshot_kind: text
---
## Input
@ -105,5 +106,3 @@ for (
for k, v in d.items():
print(k, v)
```

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/remove_newline_after_code_block_open.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/remove_redundant_parens_in_case_guard.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/return_annotation_brackets.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/single_line_format_skip_with_multiple_comments.py
snapshot_kind: text
---
## Input

View file

@ -1,6 +1,7 @@
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/stub.pyi
snapshot_kind: text
---
## Input

Some files were not shown because too many files have changed in this diff Show more