Skip to content

Failed to create fix for UnnecessaryComprehensionAnyAll: Expected Expression::ListComp #6713

@qarmin

Description

@qarmin

Ruff 0.0.285

ruff  *.py --select ALL

file content:

any(x.id for x in bar)
any({x.id for x in bar})

error:

error: Failed to create fix for UnnecessaryComprehensionAnyAll: Expected Expression::ListComp
PY_FILE_TEST_51040573.py:1:1: D100 Missing docstring in public module

PY_FILE_TEST_51040573.py.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixesRelated to suggested fixes for violationsfuzzerSurfaced via fuzzing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions