
    WOg'                        S r  " S S5      r " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r	 " S S\5      r
 " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r " S! S"\5      r " S# S$\5      r " S% S&\5      r " S' S(\5      r " S) S*\5      r " S+ S,\5      r " S- S.\5      r " S/ S0\5      r " S1 S2\5      r " S3 S4\5      r " S5 S6\5      r " S7 S8\5      r " S9 S:\5      r " S; S<\5      r " S= S>\5      r " S? S@\5      r  " SA SB\5      r! " SC SD\5      r" " SE SF\5      r# " SG SH\5      r$ " SI SJ\5      r% " SK SL\5      r& " SM SN\5      r' " SO SP\5      r( " SQ SR\5      r) " SS ST\5      r* " SU SV\5      r+ " SW SX\5      r, " SY SZ\5      r- " S[ S\\5      r.g])^z/
Provide the class Message and its subclasses.
c                   (    \ rS rSrSrSrS rS rSrg)Message     c                 T    Xl         UR                  U l        UR                  U l        g N)filenamelineno
col_offsetcol)selfr	   locs      V/Users/admin/workspace/ai/Jarvis/env/lib/python3.13/site-packages/pyflakes/messages.py__init__Message.__init__
   s     jj>>    c                     SR                  U R                  U R                  U R                  S-   U R                  U R
                  -  5      $ )Nz{}:{}:{}: {}   )formatr	   r
   r   messagemessage_args)r   s    r   __str__Message.__str__   s?    $$T]]DKK!%)\\D4E4E%EG 	Gr   )r   r	   r
   N)	__name__
__module____qualname____firstlineno__r   r   r   r   __static_attributes__r   r   r   r   r      s    GL"
Gr   r   c                       \ rS rSrSrS rSrg)UnusedImport   z%r imported but unusedc                 @    [         R                  XU5        U4U l        g r   r   r   r   r   r	   r   names       r   r   UnusedImport.__init__       -!Gr   r   Nr   r   r   r   r   r   r   r   r   r   r    r       s    &G$r   r    c                       \ rS rSrSrS rSrg)RedefinedWhileUnused   z&redefinition of unused %r from line %rc                 T    [         R                  XU5        X4R                  4U l        g r   r   r   r
   r   r   r	   r   r%   orig_locs        r   r   RedefinedWhileUnused.__init__   !    -!??3r   r(   Nr)   r   r   r   r+   r+      s    6G4r   r+   c                       \ rS rSrSrS rSrg)ImportShadowedByLoopVar$   z0import %r from line %r shadowed by loop variablec                 T    [         R                  XU5        X4R                  4U l        g r   r.   r/   s        r   r    ImportShadowedByLoopVar.__init__'   r2   r   r(   Nr)   r   r   r   r4   r4   $   s    @G4r   r4   c                       \ rS rSrSrS rSrg)ImportStarNotPermitted,   z/'from %s import *' only allowed at module levelc                 @    [         R                  XU5        U4U l        g r   r#   r   r	   r   modnames       r   r   ImportStarNotPermitted.__init__/       -$Jr   r(   Nr)   r   r   r   r9   r9   ,   s    ?G'r   r9   c                       \ rS rSrSrS rSrg)ImportStarUsed4   z9'from %s import *' used; unable to detect undefined namesc                 @    [         R                  XU5        U4U l        g r   r#   r<   s       r   r   ImportStarUsed.__init__7   r?   r   r(   Nr)   r   r   r   rA   rA   4   s    IG'r   rA   c                       \ rS rSrSrS rSrg)ImportStarUsage<   z5%r may be undefined, or defined from star imports: %sc                 @    [         R                  XU5        X44U l        g r   r#   )r   r	   r   r%   	from_lists        r   r   ImportStarUsage.__init__?   s    -!-r   r(   Nr)   r   r   r   rF   rF   <   s    EG.r   rF   c                       \ rS rSrSrS rSrg)UndefinedNameD   zundefined name %rc                 @    [         R                  XU5        U4U l        g r   r#   r$   s       r   r   UndefinedName.__init__G   r'   r   r(   Nr)   r   r   r   rL   rL   D   s    !G$r   rL   c                   "    \ rS rSrSrSS jrSrg)DoctestSyntaxErrorL   zsyntax error in doctestNc                 j    [         R                  XU5        U(       a  Uu  U l        U l        SU l        g )Nr   )r   r   r
   r   r   )r   r	   r   positions       r   r   DoctestSyntaxError.__init__O   s+    -&.#T[$(r   )r   r
   r   r   r)   r   r   r   rQ   rQ   L   s    'Gr   rQ   c                       \ rS rSrSrS rSrg)UndefinedExportV   zundefined name %r in __all__c                 @    [         R                  XU5        U4U l        g r   r#   r$   s       r   r   UndefinedExport.__init__Y   r'   r   r(   Nr)   r   r   r   rW   rW   V   s    ,G$r   rW   c                   &    \ rS rSrSrSrSrS rSrg)UndefinedLocal^   z2local variable %r {0} referenced before assignmentz%defined in enclosing scope on line %rzdefined as a builtinc                    [         R                  XU5        Uc1  U R                  R                  U R                  5      U l        X0l        g U R                  R                  U R                  5      U l        X4R                  4U l        g r   )r   r   r   r   builtinr   defaultr
   r/   s        r   r   UndefinedLocal.__init__d   sa    -<<..t||<DL $<<..t||<DL!% 7Dr   )r   r   N)	r   r   r   r   r   r`   r_   r   r   r   r   r   r\   r\   ^   s    BG5G$G8r   r\   c                       \ rS rSrSrS rSrg)DuplicateArgumentn   z,duplicate argument %r in function definitionc                 @    [         R                  XU5        U4U l        g r   r#   r$   s       r   r   DuplicateArgument.__init__q   r'   r   r(   Nr)   r   r   r   rc   rc   n   s    <G$r   rc   c                       \ rS rSrSrS rSrg)MultiValueRepeatedKeyLiteralv   z0dictionary key %r repeated with different valuesc                 @    [         R                  XU5        U4U l        g r   r#   r   r	   r   keys       r   r   %MultiValueRepeatedKeyLiteral.__init__y       - Fr   r(   Nr)   r   r   r   rh   rh   v   s    @G#r   rh   c                       \ rS rSrSrS rSrg)MultiValueRepeatedKeyVariable~   z9dictionary key variable %s repeated with different valuesc                 @    [         R                  XU5        U4U l        g r   r#   rk   s       r   r   &MultiValueRepeatedKeyVariable.__init__   rn   r   r(   Nr)   r   r   r   rp   rp   ~   s    IG#r   rp   c                       \ rS rSrSrSrg)LateFutureImport   z?from __future__ imports must occur at the beginning of the filer   Nr   r   r   r   r   r   r   r   r   ru   ru      s    OGr   ru   c                   "    \ rS rSrSrSrS rSrg)FutureFeatureNotDefined   z2An undefined __future__ feature name was imported.z future feature %s is not definedc                 @    [         R                  XU5        U4U l        g r   r#   r$   s       r   r    FutureFeatureNotDefined.__init__   r'   r   r(   Nr   r   r   r   __doc__r   r   r   r   r   r   ry   ry      s    <0G$r   ry   c                   "    \ rS rSrSrSrS rSrg)UnusedVariable   zR
Indicates that a variable has been explicitly assigned to but not actually
used.
z/local variable %r is assigned to but never usedc                 @    [         R                  XU5        U4U l        g r   r#   r   r	   r   namess       r   r   UnusedVariable.__init__       -"Hr   r(   Nr}   r   r   r   r   r      s     @G%r   r   c                   "    \ rS rSrSrSrS rSrg)UnusedAnnotation   zS
Indicates that a variable has been explicitly annotated to but not actually
used.
z-local variable %r is annotated but never usedc                 @    [         R                  XU5        U4U l        g r   r#   r   s       r   r   UnusedAnnotation.__init__   r   r   r(   Nr}   r   r   r   r   r      s     >G%r   r   c                       \ rS rSrSrSrSrg)ReturnOutsideFunction   z<
Indicates a return statement outside of a function/method.
z'return' outside functionr   Nr   r   r   r   r~   r   r   r   r   r   r   r      s     ,Gr   r   c                       \ rS rSrSrSrSrg)YieldOutsideFunction   zI
Indicates a yield or yield from statement outside of a function/method.
z'yield' outside functionr   Nr   r   r   r   r   r      s     +Gr   r   c                       \ rS rSrSrSrSrg)ContinueOutsideLoop   z@
Indicates a continue statement outside of a while or for loop.
z'continue' not properly in loopr   Nr   r   r   r   r   r      s     2Gr   r   c                       \ rS rSrSrSrSrg)BreakOutsideLoop   z=
Indicates a break statement outside of a while or for loop.
z'break' outside loopr   Nr   r   r   r   r   r      s     'Gr   r   c                       \ rS rSrSrSrSrg)DefaultExceptNotLast   z?
Indicates an except: block as not the last exception handler.
zdefault 'except:' must be lastr   Nr   r   r   r   r   r      s     1Gr   r   c                       \ rS rSrSrSrSrg)TwoStarredExpressions   zC
Two or more starred expressions in an assignment (a, *b, *c = d).
z%two starred expressions in assignmentr   Nr   r   r   r   r   r      s     6Gr   r   c                       \ rS rSrSrSrSrg)%TooManyExpressionsInStarredAssignment   z;
Too many expressions in an assignment with star-unpacking
z1too many expressions in star-unpacking assignmentr   Nr   r   r   r   r   r      s     BGr   r   c                       \ rS rSrSrSrSrg)IfTuple   zG
Conditional test is a non-empty tuple literal, which are always True.
zC'if tuple literal' is always true, perhaps remove accidental comma?r   Nr   r   r   r   r   r      s     VGr   r   c                       \ rS rSrSrSrSrg)AssertTuple   zE
Assertion test is a non-empty tuple literal, which are always True.
z5assertion is always true, perhaps remove parentheses?r   Nr   r   r   r   r   r      s     FGr   r   c                       \ rS rSrSrS rSrg)ForwardAnnotationSyntaxError   z%syntax error in forward annotation %rc                 @    [         R                  XU5        U4U l        g r   r#   )r   r	   r   
annotations       r   r   %ForwardAnnotationSyntaxError.__init__   s    -'Mr   r(   Nr)   r   r   r   r   r      s    5G*r   r   c                       \ rS rSrSrSrg)RaiseNotImplemented   z<'raise NotImplemented' should be 'raise NotImplementedError'r   Nrw   r   r   r   r   r      s    LGr   r   c                       \ rS rSrSrSrg)InvalidPrintSyntax   z(use of >> is invalid with print functionr   Nrw   r   r   r   r   r      s    8Gr   r   c                       \ rS rSrSrSrg)	IsLiteral   zFuse ==/!= to compare constant literals (str, bytes, int, float, tuple)r   Nrw   r   r   r   r   r      s    VGr   r   c                       \ rS rSrSrSrg)FStringMissingPlaceholders   z f-string is missing placeholdersr   Nrw   r   r   r   r   r      s    0Gr   r   c                       \ rS rSrSrS rSrg)'StringDotFormatExtraPositionalArgumentsi  z9'...'.format(...) has unused arguments at position(s): %sc                 @    [         R                  XU5        U4U l        g r   r#   )r   r	   r   extra_positionss       r   r   0StringDotFormatExtraPositionalArguments.__init__  s    -,.r   r(   Nr)   r   r   r   r   r     s    IG/r   r   c                       \ rS rSrSrS rSrg)"StringDotFormatExtraNamedArgumentsi  z2'...'.format(...) has unused named argument(s): %sc                 @    [         R                  XU5        U4U l        g r   r#   r   r	   r   extra_keywordss       r   r   +StringDotFormatExtraNamedArguments.__init__      -+-r   r(   Nr)   r   r   r   r   r     s    BG.r   r   c                       \ rS rSrSrS rSrg)StringDotFormatMissingArgumenti  z?'...'.format(...) is missing argument(s) for placeholder(s): %sc                 @    [         R                  XU5        U4U l        g r   r#   r   r	   r   missing_argumentss       r   r   'StringDotFormatMissingArgument.__init__      -.0r   r(   Nr)   r   r   r   r   r     s    OG1r   r   c                       \ rS rSrSrSrg)StringDotFormatMixingAutomatici  z6'...'.format(...) mixes automatic and manual numberingr   Nrw   r   r   r   r   r     s    FGr   r   c                       \ rS rSrSrS rSrg)StringDotFormatInvalidFormati   z/'...'.format(...) has invalid format string: %sc                 @    [         R                  XU5        U4U l        g r   r#   r   r	   r   errors       r   r   %StringDotFormatInvalidFormat.__init__#  r   r   r(   Nr)   r   r   r   r   r      s    ?G%r   r   c                       \ rS rSrSrS rSrg)PercentFormatInvalidFormati(  z*'...' %% ... has invalid format string: %sc                 @    [         R                  XU5        U4U l        g r   r#   r   s       r   r   #PercentFormatInvalidFormat.__init__+  r   r   r(   Nr)   r   r   r   r   r   (  s    :G%r   r   c                       \ rS rSrSrSrg)$PercentFormatMixedPositionalAndNamedi0  z8'...' %% ... has mixed positional and named placeholdersr   Nrw   r   r   r   r   r   0  s    HGr   r   c                       \ rS rSrSrS rSrg)'PercentFormatUnsupportedFormatCharacteri4  z0'...' %% ... has unsupported format character %rc                 @    [         R                  XU5        U4U l        g r   r#   )r   r	   r   cs       r   r   0PercentFormatUnsupportedFormatCharacter.__init__7  s    -Dr   r(   Nr)   r   r   r   r   r   4  s    @G!r   r   c                       \ rS rSrSrS rSrg)$PercentFormatPositionalCountMismatchi<  z9'...' %% ... has %d placeholder(s) but %d substitution(s)c                 @    [         R                  XU5        X44U l        g r   r#   )r   r	   r   n_placeholdersn_substitutionss        r   r   -PercentFormatPositionalCountMismatch.__init__?  s    -+=r   r(   Nr)   r   r   r   r   r   <  s    IG>r   r   c                       \ rS rSrSrS rSrg) PercentFormatExtraNamedArgumentsiD  z-'...' %% ... has unused named argument(s): %sc                 @    [         R                  XU5        U4U l        g r   r#   r   s       r   r   )PercentFormatExtraNamedArguments.__init__G  r   r   r(   Nr)   r   r   r   r   r   D  s    =G.r   r   c                       \ rS rSrSrS rSrg)PercentFormatMissingArgumentiL  z:'...' %% ... is missing argument(s) for placeholder(s): %sc                 @    [         R                  XU5        U4U l        g r   r#   r   s       r   r   %PercentFormatMissingArgument.__init__O  r   r   r(   Nr)   r   r   r   r   r   L  s    JG1r   r   c                       \ rS rSrSrSrg)PercentFormatExpectedMappingiT  z.'...' %% ... expected mapping but got sequencer   Nrw   r   r   r   r   r   T      >Gr   r   c                       \ rS rSrSrSrg)PercentFormatExpectedSequenceiX  z.'...' %% ... expected sequence but got mappingr   Nrw   r   r   r   r   r   X  r   r   r   c                       \ rS rSrSrSrg)!PercentFormatStarRequiresSequencei\  z,'...' %% ... `*` specifier requires sequencer   Nrw   r   r   r   r   r   \  s    <Gr   r   N)/r~   r   r    r+   r4   r9   rA   rF   rL   rQ   rW   r\   rc   rh   rp   ru   ry   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   <module>r      sB  
G G$7 $47 44g 4'W ''W '.g .$G $ $g $8W 8 $ $#7 ##G #Pw P$g $	%W 	%	%w 	%,G ,+7 +2' 2'w '17 16G 6BG BVg VF' F*7 *M' M9 9W W1 1/g /. .1W 1GW G%7 %% %I7 I!g !>7 >.w .17 1?7 ??G ?= =r   