How to ignore errors in Pycharm community edition?

已回答

Hello, I've been looking for a way to ignore one error in a python file. But i do not seem to find an option

i do get this option called "Ignore errors like this", but I'm assuming it will ignore all such errors in the future for all files. Which I don't want. I just want to ignore this ONE error. Thats it. If the error pops up again in the same file or any other file, i want it to be highlighted.

0

Hi,
 
Please check the Suppress Inspections article. When you suppress an inspection, the code analysis engine doesn't highlight the problem found by this inspection in the specific piece of code (class, method, field, or statement)
 

0

请先登录再写评论。