ó
4¶\c           @   są  d  Z  d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d	 e f d
     YZ d e f d     YZ d e f d     YZ d e f d     YZ	 d e f d     YZ
 d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d e f d      YZ d! e f d"     YZ d# e f d$     YZ d% e f d&     YZ d' e f d(     YZ d) e f d*     YZ d+ e f d,     YZ d- e f d.     YZ d/ e f d0     YZ d1 e f d2     YZ d3 e f d4     YZ d5 e f d6     YZ d7 e f d8     YZ d9 e f d:     YZ d; e f d<     YZ d= e f d>     YZ  d? e f d@     YZ! dA e f dB     YZ" dC S(D   s/   
Provide the class Message and its subclasses.
t   Messagec           B   s&   e  Z d  Z d Z d   Z d   Z RS(   t    c         C   s.   | |  _  | j |  _ t | d d  |  _ d  S(   Nt
   col_offseti    (   t   filenamet   linenot   getattrt   col(   t   selfR   t   loc(    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyt   __init__
   s    	c         C   s!   d |  j  |  j |  j |  j f S(   Ns	   %s:%s: %s(   R   R   t   messaget   message_args(   R   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyt   __str__   s    (    (   t   __name__t
   __module__R
   R   R	   R   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR       s   	t   UnusedImportc           B   s   e  Z d  Z d   Z RS(   s   %r imported but unusedc         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   t   name(    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	      s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR      s   t   RedefinedWhileUnusedc           B   s   e  Z d  Z d   Z RS(   s&   redefinition of unused %r from line %rc         C   s)   t  j |  | |  | | j f |  _ d  S(   N(   R    R	   R   R   (   R   R   R   R   t   orig_loc(    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	      s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR      s   t   RedefinedInListCompc           B   s   e  Z d  Z d   Z RS(   s,   list comprehension redefines %r from line %rc         C   s)   t  j |  | |  | | j f |  _ d  S(   N(   R    R	   R   R   (   R   R   R   R   R   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   '   s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR   $   s   t   ImportShadowedByLoopVarc           B   s   e  Z d  Z d   Z RS(   s0   import %r from line %r shadowed by loop variablec         C   s)   t  j |  | |  | | j f |  _ d  S(   N(   R    R	   R   R   (   R   R   R   R   R   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   /   s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR   ,   s   t   ImportStarNotPermittedc           B   s   e  Z d  Z d   Z RS(   s/   'from %s import *' only allowed at module levelc         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   t   modname(    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   7   s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR   4   s   t   ImportStarUsedc           B   s   e  Z d  Z d   Z RS(   s9   'from %s import *' used; unable to detect undefined namesc         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   R   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   ?   s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR   <   s   t   ImportStarUsagec           B   s   e  Z d  Z d   Z RS(   s5   %r may be undefined, or defined from star imports: %sc         C   s&   t  j |  | |  | | f |  _ d  S(   N(   R    R	   R   (   R   R   R   R   t	   from_list(    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   G   s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR   D   s   t   UndefinedNamec           B   s   e  Z d  Z d   Z RS(   s   undefined name %rc         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   R   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   O   s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR   L   s   t   DoctestSyntaxErrorc           B   s   e  Z d  Z d d  Z RS(   s   syntax error in doctestc         C   s;   t  j |  | |  | r. | \ |  _ |  _ n  d |  _ d  S(   N(    (   R    R	   R   R   R   (   R   R   R   t   position(    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   W   s    N(   R   R   R
   t   NoneR	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR   T   s   t   UndefinedExportc           B   s   e  Z d  Z d   Z RS(   s   undefined name %r in __all__c         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   R   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   a   s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR   ^   s   t   UndefinedLocalc           B   s#   e  Z d  Z d Z d Z d   Z RS(   s2   local variable %r {0} referenced before assignments%   defined in enclosing scope on line %rs   defined as a builtinc         C   sq   t  j |  | |  | d  k rC |  j j |  j  |  _ | |  _ n* |  j j |  j  |  _ | | j f |  _ d  S(   N(	   R    R	   R   R
   t   formatt   builtinR   t   defaultR   (   R   R   R   R   R   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   l   s    (   R   R   R
   R"   R!   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR   f   s   t   DuplicateArgumentc           B   s   e  Z d  Z d   Z RS(   s,   duplicate argument %r in function definitionc         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   R   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   y   s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR#   v   s   t   MultiValueRepeatedKeyLiteralc           B   s   e  Z d  Z d   Z RS(   s0   dictionary key %r repeated with different valuesc         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   t   key(    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	      s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR$   ~   s   t   MultiValueRepeatedKeyVariablec           B   s   e  Z d  Z d   Z RS(   s9   dictionary key variable %s repeated with different valuesc         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   R%   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	      s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR&      s   t   LateFutureImportc           B   s   e  Z d  Z d   Z RS(   s?   from __future__ imports must occur at the beginning of the filec         C   s    t  j |  | |  d |  _ d  S(   N(    (   R    R	   R   (   R   R   R   t   names(    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	      s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR'      s   t   FutureFeatureNotDefinedc           B   s   e  Z d  Z d Z d   Z RS(   s2   An undefined __future__ feature name was imported.s    future feature %s is not definedc         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   R   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	      s    (   R   R   t   __doc__R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR)      s   t   UnusedVariablec           B   s   e  Z d  Z d Z d   Z RS(   s^   
    Indicates that a variable has been explicitly assigned to but not actually
    used.
    s/   local variable %r is assigned to but never usedc         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   R(   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   ¦   s    (   R   R   R*   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR+      s   t   ReturnWithArgsInsideGeneratorc           B   s   e  Z d  Z d Z RS(   sI   
    Indicates a return statement with arguments inside a generator.
    s'   'return' with argument inside generator(   R   R   R*   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR,   «   s   t   ReturnOutsideFunctionc           B   s   e  Z d  Z d Z RS(   sD   
    Indicates a return statement outside of a function/method.
    s   'return' outside function(   R   R   R*   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR-   ²   s   t   YieldOutsideFunctionc           B   s   e  Z d  Z d Z RS(   sQ   
    Indicates a yield or yield from statement outside of a function/method.
    s   'yield' outside function(   R   R   R*   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR.   ¹   s   t   ContinueOutsideLoopc           B   s   e  Z d  Z d Z RS(   sH   
    Indicates a continue statement outside of a while or for loop.
    s   'continue' not properly in loop(   R   R   R*   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR/   Ā   s   t   BreakOutsideLoopc           B   s   e  Z d  Z d Z RS(   sE   
    Indicates a break statement outside of a while or for loop.
    s   'break' outside loop(   R   R   R*   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR0   É   s   t   ContinueInFinallyc           B   s   e  Z d  Z d Z RS(   sS   
    Indicates a continue statement in a finally block in a while or for loop.
    s0   'continue' not supported inside 'finally' clause(   R   R   R*   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR1   Š   s   t   DefaultExceptNotLastc           B   s   e  Z d  Z d Z RS(   sG   
    Indicates an except: block as not the last exception handler.
    s   default 'except:' must be last(   R   R   R*   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR2   ×   s   t   TwoStarredExpressionsc           B   s   e  Z d  Z d Z RS(   sK   
    Two or more starred expressions in an assignment (a, *b, *c = d).
    s%   two starred expressions in assignment(   R   R   R*   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR3   Ž   s   t%   TooManyExpressionsInStarredAssignmentc           B   s   e  Z d  Z d Z RS(   sC   
    Too many expressions in an assignment with star-unpacking
    s1   too many expressions in star-unpacking assignment(   R   R   R*   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR4   å   s   t   AssertTuplec           B   s   e  Z d  Z d Z RS(   s;   
    Assertion test is a tuple, which are always True.
    s5   assertion is always true, perhaps remove parentheses?(   R   R   R*   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR5   ģ   s   t   ForwardAnnotationSyntaxErrorc           B   s   e  Z d  Z d   Z RS(   s%   syntax error in forward annotation %rc         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   t
   annotation(    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   ö   s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR6   ó   s   t   CommentAnnotationSyntaxErrorc           B   s   e  Z d  Z d   Z RS(   s   syntax error in type comment %rc         C   s#   t  j |  | |  | f |  _ d  S(   N(   R    R	   R   (   R   R   R   R7   (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR	   ž   s    (   R   R   R
   R	   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR8   ū   s   t   RaiseNotImplementedc           B   s   e  Z d  Z RS(   s<   'raise NotImplemented' should be 'raise NotImplementedError'(   R   R   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR9     s   t   InvalidPrintSyntaxc           B   s   e  Z d  Z RS(   s(   use of >> is invalid with print function(   R   R   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR:     s   t	   IsLiteralc           B   s   e  Z d  Z RS(   s1   use ==/!= to compare str, bytes, and int literals(   R   R   R
   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyR;     s   N(#   R*   t   objectR    R   R   R   R   R   R   R   R   R   R   R   R#   R$   R&   R'   R)   R+   R,   R-   R.   R/   R0   R1   R2   R3   R4   R5   R6   R8   R9   R:   R;   (    (    (    s0   lib/python2.7/site-packages/pyflakes/messages.pyt   <module>   sB   
		