Skip to content

[Autofix] Failed to autofix oneline python file #3585

@qarmin

Description

@qarmin

Ruff 1dd3cbd
No config

ruff . --fix

on

"()"""" Wrapper namespace for re type aliases. """

cause error

error: Autofix introduced a syntax error. Reverting all changes.

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

    https://github.com/charliermarsh/ruff/issues/new?title=%5BAutofix%20error%5D

...quoting the contents of `/home/rafal/Desktop/RunEveryCommand/Ruff/Broken/42002re (147th copy)0.py`, along with the `pyproject.toml` settings and executed command, we'd be very appreciative!

42002re (147th copy)0.py.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions