Skip to content

Ruff is removing used imports #11518

@lcsvcn

Description

@lcsvcn

Removing used imports (probably wrong classified as "unused"

ruff check . --fix --verbose
ruff format --verbose

Here is autoformat configured with commands above:
Screenshot 2024-05-23 at 14 36 51

here is a function that is using the import:
Screenshot 2024-05-23 at 14 37 29

The ruff format insists in remove used import, it was not first time, but now it is first time it was doing several times in a row.

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