How to undo "Ignore errors like this"?
Completed
I know that if you put the caret on a specific warning (in my case a PEP8 warning) and press Alt-Enter, you can choose "Ignore errors like this" and it will blacklist a specific type of error. How can I undo that action? I accidentally suppressed a specific PEP8 warning (line too long), and I want to turn the warning back on.
Please sign in to leave a comment.
I can only comment from my Mac perspective but I could turn it off and back on again quite easily. For Windows it might be in the same place but I can't confirm that. What I did is:
1. Open the preferences or settings.
2. In the left-hand side, click Editor -> Code Style -> Inspections.
3. Select General in the middle pane.
4. There's a checkbox Line is longer than allowed by code style. Re-enable it.
Works for me but as I say, Windows PyCharm settings might be different.
Thanks! That's not exactly what I was looking for, but it pointed me in the right direction.This is how I ended up finding it:
I have two machines, though, and unfortunately this process only fixed it on one of them. I'm still not getting some of the PEP8 inspections on the other. I'll have to write up a different question for that one. Thanks again!
For people that get here that don't know which inspection they just ignored, there's a helpful filter