pylint: handle multiline violations

Porting the last commit from https://github.com/edx/XBlock/pull/225, as @sarina suggested.