Skip to content

Commit

Permalink
Move new delete fixture into ruff fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
cnpryer committed Jun 18, 2023
1 parent 1ef57eb commit b5df670
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 162 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
source: crates/ruff_python_formatter/src/lib.rs
expression: snapshot
---
## Input
```py
x = 1
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa = 1
b, c, d = (2, 3, 4)
# Some comment
del x # Trailing comment
# Dangling comment
# Some comment
del x, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, b, c, d # Trailing comment
# Dangling comment
# Some comment
del (
x,
# Slapping one here
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
b,
c,
d
# Another one
) # Trailing comment
# Dangling comment
```



## Output
```py
x = 1
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa = 1
b, c, d = (2, 3, 4)
# Some comment
del x # Trailing comment
# Dangling comment
# Some comment
del (
x,
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
b,
c,
d,
) # Trailing comment
# Dangling comment
# Some comment
del (
x,
# Slapping one here
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
b,
c,
d
# Another one
) # Trailing comment
# Dangling comment
```


0 comments on commit b5df670

Please sign in to comment.