When a line of mine is unacceptable to the default syntax/quality checker used with elpy, it underlines the line in red.
How do I find out why the lne is underlined?
Normally you'd have to hover over the line with your mouse.
However that's very un-emacs-y so I'd suggest using flymake-cursor so that the message appears in the mini buffer instead.