mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:45:24 +00:00
Enable function2
test (#3083)
This commit is contained in:
parent
90c04b9cff
commit
a6eb60cdd5
4 changed files with 173 additions and 56 deletions
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
source: src/source_code/mod.rs
|
||||
assertion_line: 0
|
||||
expression: formatted
|
||||
source: crates/ruff_python_formatter/src/lib.rs
|
||||
expression: adjust_quotes(formatted.print()?.as_code())
|
||||
---
|
||||
def f(
|
||||
a,
|
||||
|
@ -10,7 +9,8 @@ def f(
|
|||
with cache_dir():
|
||||
if something:
|
||||
result = CliRunner().invoke(
|
||||
black.main, [str(src1), str(src2), "--diff", "--check"]
|
||||
black.main,
|
||||
[str(src1), str(src2), "--diff", "--check"],
|
||||
)
|
||||
limited.append(-limited.pop()) # negate top
|
||||
return A(
|
Loading…
Add table
Add a link
Reference in a new issue