noinspection PyUnusedImport not working Maciek Głuszak 创建于 2022年12月09日 13:46 As on the screenshot, the warning is still displayed. What may be the reason?
i already tried restarting, clearing cache etc
Hello,
Unfortunately, its a known issue; in the latest PyCharm version, you can disable unused imports by adding the following:
or with
as shown in a screenshot.
Here you can find a complete list of the available # noinspection comments.