PyCharm provides some useful warnings about code style, conventions, and logical errors. It also provides a notification if I try to execute code with warnings (or errors).
Sometimes I deliberately ignore these warnings for certain lines of code (for various reasons, as a rule, to take into account implementation details of third-party libraries). I want to suppress the warning, but only for this line (if the warning appears on another line where I do not intend, I want to know about it!)
How can I do this in PyCharm? (Under the universal convention, Python is strongly preferred.)
source
share