Skip to content

Order Ruff disable suggestions #766

@msmoiz-biq

Description

@msmoiz-biq

Is it possible to position the "Disable for this line" action after other substantive quick fixes? In the screenshot below, you can see that I can fix the missing import error by importing the os module, but that option is listed after the disable option. However, I generally treat disabling type checking or linting errors like this as a measure of last resort, and it would be nice if its order of appearance reflected that. This would also reduce the number of keyboard movements required to reach substantive fixes.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions