Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Autofix error] Autofix introduced a syntax error. Reverting all changes. #3523

Closed
qarmin opened this issue Mar 14, 2023 · 0 comments · Fixed by #3527
Closed

[Autofix error] Autofix introduced a syntax error. Reverting all changes. #3523

qarmin opened this issue Mar 14, 2023 · 0 comments · Fixed by #3527
Assignees
Labels
bug Something isn't working

Comments

@qarmin
Copy link

qarmin commented Mar 14, 2023

Ruff 0.0.255
Command

ruff ~/Desktop/Ruff/Broken/AcquireFile6.py --config /home/rafal/Desktop/ruff.toml --fix --no-cache

Settings

select = ["ALL"]

basic_checker0.py.zip

produce 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 `basic_checker0.py`, along with the `pyproject.toml` settings and executed command, we'd be very appreciative!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants