Suppressing "unused imports" inspection

It would be helpful to be able to suppress the "unused imports" inspection, but this doesn't seem to be in the list. I have tried:
#noinspection PyUnusedImport
#noinspection PyUnusedImports

Also, the IDE pop-up doesn't give you the option.

Also useful might be just #noinspection without any parameters. This could be used in this case and any others where the suppression is not specifically available.

 

0

Hello, 

 

this inspection is a part of "unresolved reference" inspection. 

See: 

 

Please vote for https://youtrack.jetbrains.com/issue/PY-4330/Unused-import-classified-as-unresolved-reference in order to increase its priority. 

0

请先登录再写评论。