Skip to content

Removing unused imports with "Optimize Imports" command does not work #585

Description

@Cykooz

Removing unused imports with "Optimize Imports" command does not work in case if:

  • option "Use Import Optimizer" in Ruff plugin is enabled
  • fixing unused imports disabled in .ruff.toml file:
[lint]
unfixable = ["F401"]

If I disable Ruff plugin, everything works fine. Unused imports will be removed with help "Optimize Imports" command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions