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] Autofix fails with docstring #3586

Closed
qarmin opened this issue Mar 17, 2023 · 0 comments · Fixed by #3589
Closed

[Autofix] Autofix fails with docstring #3586

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

Comments

@qarmin
Copy link

qarmin commented Mar 17, 2023

Ruff 1dd3cbd + PR #3584
No config

ruff . --fix

on

class MeasurementSchemaUpdateRequest(object):
    def columns(self, columns):
        """Set the columns of this MeasurementSchemaUpdateRequest.

        An ordered collection of column definitions
        """  # noqa: E򉷸01

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/50790measurement_schema_update_request0.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