diff -r 4bdc6503df81 -r 6a0f3abd6878 Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py --- a/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py Sun Jun 17 16:56:10 2018 +0200 +++ b/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/messages.py Sun Jun 17 18:22:57 2018 +0200 @@ -486,5 +486,36 @@ message_id = 'F28' message = 'assertion is always true, perhaps remove parentheses?' + +class ForwardAnnotationSyntaxError(Message): + """ + Class defining the "forward annotation syntax error" message. + + Found a syntax error in forward annotation. + """ + message_id = 'F29' + message = 'syntax error in forward annotation %r' + + def __init__(self, filename, loc, annotation): + """ + Constructor + + @param filename name of the file (string) + @param loc location of the issue + @param annotation erroneous forward annotation (string) + """ + Message.__init__(self, filename, loc) + self.message_args = (annotation,) + + +class RaiseNotImplemented(Message): + """ + Class defining the "raise not implemented" message. + + Use NotImplementedError instead of NotImplemented. + """ + message_id = 'F30' + message = "'raise NotImplemented' should be 'raise NotImplementedError'" + # # eflag: noqa = M702