ignore unused import Maciek Głuszak 创建于 2022年12月09日 13:02 is there a way to make pycharm ignore unused import statements?
i can see it under JavaScript, but not under Python
Hello,
You can disable the inspection from the bulb icon :
I cannot see this menu for some reason. When I hoover on ">" nothing happens
You need to click here:

Antonina Belianskaya
like i said, when i hover on it nothing happens, and when i click, the optimization just runs without further prompts.
You should click right on the > sign to open the menu. Or you can uncheck it manually in the settings:
Antonina Belianskaya
nope, rightclicking does nothing.
And no idea what "actions on save" have to do with what i am asking about.
I am sorry, it is my mistake.
The "unused import" inspection is a part of "unresolved reference" inspection. You may disable it manually, please see the screenshot. But please be aware of the https://youtrack.jetbrains.com/issue/PY-4330/Unused-import-classified-as-unresolved-reference