Disable specific inspection warning

Is there a way to leave an inspection set, but disable it in a certain instance?

For example, in pydev, I used a #@UndefinedVariable comment to get rid of a undefined variable warning.  Is there something like that for pycharm?

1 comment

If I hit alt+enter when the cursor is over an inspection warning, I can choose "Suppress for this statement" and it adds a comment like, "#noinspection PyAugmentAssignment" or whatever.


Please sign in to leave a comment.