mirror of https://github.com/astral-sh/ruff
update snapshot with parenthesized example
This commit is contained in:
parent
bb90d55ed5
commit
7cfaa1fb9c
|
|
@ -273,6 +273,9 @@ def indentation_matching_walrus_in_preview():
|
||||||
(address,),
|
(address,),
|
||||||
).fetchall().some_attr)) == 0 or len(set(names)) > 1:
|
).fetchall().some_attr)) == 0 or len(set(names)) > 1:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# behavior with parenthesized roots
|
||||||
|
x = (aaaaaaaaaaaaaaaaaaaaaa).bbbbbbbbbbbbbbbbbbb.cccccccccccccccccccccccc().dddddddddddddddddddddddd().eeeeeeeeeeee
|
||||||
```
|
```
|
||||||
|
|
||||||
## Output
|
## Output
|
||||||
|
|
@ -578,6 +581,15 @@ def indentation_matching_walrus_in_preview():
|
||||||
)
|
)
|
||||||
) == 0 or len(set(names)) > 1:
|
) == 0 or len(set(names)) > 1:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
# behavior with parenthesized roots
|
||||||
|
x = (
|
||||||
|
(aaaaaaaaaaaaaaaaaaaaaa)
|
||||||
|
.bbbbbbbbbbbbbbbbbbb.cccccccccccccccccccccccc()
|
||||||
|
.dddddddddddddddddddddddd()
|
||||||
|
.eeeeeeeeeeee
|
||||||
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue