Disable inspection in PyCharm
问题 There are several articles explaining how to disable inspection in PyCharm by clicking my way around. I do not like that because: It does not work for me I have no idea what PyCharm is doing I want to disable PEP8 checking in certain cases, and not be bound to PyCharm In flake8 I can ignore errors with # noqa , but PyCharm does not seem to respect that consistently. How can I tell (in code) PyCharm to ignore errors in a specific line of code? 回答1: If you click alt+enter on the errors, you can