mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
Introduce dedicated CST tokens for other operator kinds (#3267)
This commit is contained in:
parent
061495a9eb
commit
f5f09b489b
16 changed files with 425 additions and 217 deletions
|
@ -110,17 +110,6 @@ elif unformatted:
|
|||
},
|
||||
)
|
||||
|
||||
@@ -18,8 +16,8 @@
|
||||
"ls",
|
||||
"-la",
|
||||
]
|
||||
- # fmt: on
|
||||
- + path,
|
||||
+ + # fmt: on
|
||||
+ path,
|
||||
check=True,
|
||||
)
|
||||
|
||||
@@ -27,9 +25,8 @@
|
||||
# Regression test for https://github.com/psf/black/issues/3026.
|
||||
def test_func():
|
||||
|
@ -212,8 +201,8 @@ run(
|
|||
"ls",
|
||||
"-la",
|
||||
]
|
||||
+ # fmt: on
|
||||
path,
|
||||
# fmt: on
|
||||
+ path,
|
||||
check=True,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue