PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Disabling and enabling inspections

Last modified: 21 July 2022

Some inspections may report problems that you currently do not want to see. In this case, you can disable or suppress them.

When you disable an inspection, you turn it off. It means that the code analysis engine stops searching project files for the problem that this inspection is designed to detect. Note that when you disable an inspection, you disable it in the current inspection profile; it remains enabled in other profiles.

To partly disable an inspection for particular types of files, use the scope settings.