Skip to content

[Infinite loop] Nursery rules cause to show infinite loop #6738

@qarmin

Description

@qarmin

Ruff 0.0.285

ruff  *.py --select NURSERY --fix

file content:

,                                                                                                                                                                                                         "p

error:

error: Failed to converge after 100 iterations.

This indicates a bug in `ruff`. If you could open an issue at:

    https://github.com/astral-sh/ruff/issues/new?title=%5BInfinite%20loop%5D

...quoting the contents of `PY_FILE_TEST_2618608044.py`, the rule codes CPY001, E231, along with the `pyproject.toml` settings and executed command, we'd be very appreciative!

PY_FILE_TEST_2618608044.py.zip

Metadata

Metadata

Assignees

No one assigned

    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