diff --git a/crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/lambda_preview.options.json b/crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/lambda_preview.options.json deleted file mode 100644 index 8925dd0a82..0000000000 --- a/crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/lambda_preview.options.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - { - "preview": "enabled" - } -] diff --git a/crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/lambda_preview.py b/crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/lambda_preview.py deleted file mode 100644 index 819ab48b32..0000000000 --- a/crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/lambda_preview.py +++ /dev/null @@ -1,24 +0,0 @@ -""" -Test cases from lambda.py that cause an instability in the stable -implementation but that are handled by the preview `indent_lambda_parameters` -version. -""" - -( - lambda - # comment 1 - * - # comment 2 - x, - **y: - # comment 3 - x -) - -( - lambda # comment 1 - * # comment 2 - x, - y: # comment 3 - x -) diff --git a/crates/ruff_python_formatter/tests/snapshots/format@expression__lambda_preview.py.snap b/crates/ruff_python_formatter/tests/snapshots/format@expression__lambda_preview.py.snap deleted file mode 100644 index eeb6fa2c36..0000000000 --- a/crates/ruff_python_formatter/tests/snapshots/format@expression__lambda_preview.py.snap +++ /dev/null @@ -1,75 +0,0 @@ ---- -source: crates/ruff_python_formatter/tests/fixtures.rs -input_file: crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/lambda_preview.py ---- -## Input -```python -""" -Test cases from lambda.py that cause an instability in the stable -implementation but that are handled by the preview `indent_lambda_parameters` -version. -""" - -( - lambda - # comment 1 - * - # comment 2 - x, - **y: - # comment 3 - x -) - -( - lambda # comment 1 - * # comment 2 - x, - y: # comment 3 - x -) -``` - -## Outputs -### Output 1 -``` -indent-style = space -line-width = 88 -indent-width = 4 -quote-style = Double -line-ending = LineFeed -magic-trailing-comma = Respect -docstring-code = Disabled -docstring-code-line-width = "dynamic" -preview = Enabled -target_version = 3.10 -source_type = Python -``` - -```python -""" -Test cases from lambda.py that cause an instability in the stable -implementation but that are handled by the preview `indent_lambda_parameters` -version. -""" - -( - lambda - # comment 1 - # comment 2 - *x, - **y - : - # comment 3 - x -) - -( - lambda # comment 1 - # comment 2 - *x, - y - : # comment 3 - x -) -```