ó
„¾^Yc           @   sr  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 S(:   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(    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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   (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyt   __str__   s    (    (   t   __name__t
   __module__R
   R   R	   R   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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(    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	      s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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(    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	      s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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   (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   '   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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   (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   /   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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(    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   7   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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   (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   ?   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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(    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   G   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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   (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   O   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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(    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   W   s    N(   R   R   R
   t   NoneR	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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   (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   a   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR   ^   s   t   UndefinedLocalc           B   s   e  Z d  Z d „  Z RS(   sV   local variable %r (defined in enclosing scope on line %r) referenced before assignmentc         C   s)   t  j |  | | ƒ | | j f |  _ d  S(   N(   R    R	   R   R   (   R   R   R   R   R   (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   j   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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   (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   r   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR    o   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(    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   z   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR!   w   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"   (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   ‚   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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(    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   Š   s    (   R   R   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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   (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   “   s    (   R   R   t   __doc__R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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%   (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR	   Ÿ   s    (   R   R   R'   R
   R	   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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
   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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
   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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
   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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
   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/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
   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR-   Â   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
   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR.   É   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
   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR/   Ð   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
   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR0   ×   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
   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR1   Þ   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
   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyR2   å   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,   R-   R.   R/   R0   R1   R2   (    (    (    s3   /tmp/pip-build-EndXZ2/pyflakes/pyflakes/messages.pyt   <module>   s8   
			