Skip to content

[Autofix] Autofix fails with docstring #3586

@qarmin

Description

@qarmin

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!

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