After I installed PyCharm 2024.2.4 (Community Edition) code inspection does not work properly

Hi there,

After I installed PyCharm 2024.2.4 (Community Edition) code inspection does not work properly.
It barely shows any issues with the code even though there are.
For example, in a Python file, I have created a dummy function foo inside a class without the self parameter. 

The Problems tab does not show any issue, but when I click on “Inspect Code…”, the issue is shown.

Please see images attached.

This is what I see in Problems tab

 

And this is what I see under Inspections on Current File


 

So the errors are only captured if I do a manual code inspection in the current file. 

I also took a look at the Inspections settings under Python and PEP8 Coding Violation is enabled.

I did not have this problem in previous versions. How can I fix this? Should I downgrade to an earlier version

0
1 comment

I think I have realized what the problem is. 

I think all my files of my Project have the Highlight set to Syntax. When I turn it to All Problems, I can see the problems under the Problems tab and the Inspection actually works. 

How can I set all the files under the current Project to have the Highlight set to All Problems?

 

 

0

Please sign in to leave a comment.