Skip to content

Failed to create fix for StringDotFormatExtraNamedArguments: Failed to extract expression from source #6720

@qarmin

Description

@qarmin

Ruff 0.0.285

ruff  *.py --select ALL --no-cache

file content:

def list_test_params(param_input):
        option = (
            '{name}={value}'
            .format(nam=name, value=value)
        )

error:

error: Failed to create fix for StringDotFormatExtraNamedArguments: Failed to extract expression from source

PY_FILE_TEST_14854806573.py.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfuzzerSurfaced via fuzzing.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions