Search code examples
pycharm

How to turn on "unused imports" highlighting in PyCharm


My PyCharm doesn't mark any imports as unused.

Me (os is not using):

enter image description here

Should be (found this picture in web):

enter image description here

How can I enable it?


Solution

  • Have you seen this green icon in the top right corner? You can choose which problems you want to display. Just choose "All problems".

    I tried everything: reinstalled pycharm, cleaned caches, tried other projects, etc. And this is what solved it for me

    I missed warnings so much