E0103
Message
%r not properly in loop
Description
Used when the break or continue keywords are used outside of a loop.
This message belongs to the basic checker.
Explanation
Python docs: The break Statement allows break only within loops (and not within function or class definitions within a loop). Similarly for the continue statement.
Python 2.6(?) and above raises a SyntaxError for this situation when importing the module. PyLint reports this error using this message, without depending on the import actually happening.