19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body><a NAME="top" ID="top"></a> |
22 <h1>eric5.Plugins.CheckerPlugins.SyntaxChecker.pyflakes.messages</h1> |
22 <h1>eric5.Plugins.CheckerPlugins.SyntaxChecker.pyflakes.messages</h1> |
23 <p> |
23 <p> |
24 Provide the class Message and its subclasses. |
24 Module implementing the messages for pyflakes. |
25 </p> |
25 </p> |
26 <h3>Global Attributes</h3> |
26 <h3>Global Attributes</h3> |
27 <table> |
27 <table> |
28 <tr><td>QT_TRANSLATE_NOOP</td></tr> |
28 <tr><td>None</td></tr> |
29 </table> |
29 </table> |
30 <h3>Classes</h3> |
30 <h3>Classes</h3> |
31 <table> |
31 <table> |
32 <tr> |
32 <tr> |
33 <td><a href="#DoctestSyntaxError">DoctestSyntaxError</a></td> |
33 <td><a href="#DoctestSyntaxError">DoctestSyntaxError</a></td> |
34 <td>Class defining the "Syntax error in doctest" message.</td> |
34 <td>Class defining the "Doctest syntax Error" message.</td> |
35 </tr><tr> |
35 </tr><tr> |
36 <td><a href="#DuplicateArgument">DuplicateArgument</a></td> |
36 <td><a href="#DuplicateArgument">DuplicateArgument</a></td> |
37 <td>Class defining the "Duplicate Argument" message.</td> |
37 <td>Class defining the "Duplicate Argument" message.</td> |
38 </tr><tr> |
38 </tr><tr> |
39 <td><a href="#ImportShadowedByLoopVar">ImportShadowedByLoopVar</a></td> |
39 <td><a href="#ImportShadowedByLoopVar">ImportShadowedByLoopVar</a></td> |
50 </tr><tr> |
50 </tr><tr> |
51 <td><a href="#Redefined">Redefined</a></td> |
51 <td><a href="#Redefined">Redefined</a></td> |
52 <td>Class defining the "Redefined" message.</td> |
52 <td>Class defining the "Redefined" message.</td> |
53 </tr><tr> |
53 </tr><tr> |
54 <td><a href="#RedefinedInListComp">RedefinedInListComp</a></td> |
54 <td><a href="#RedefinedInListComp">RedefinedInListComp</a></td> |
55 <td>Class defining the list comprehension redefinition.</td> |
55 <td>Class defining the "Redefined In List Comprehension" message.</td> |
56 </tr><tr> |
56 </tr><tr> |
57 <td><a href="#RedefinedWhileUnused">RedefinedWhileUnused</a></td> |
57 <td><a href="#RedefinedWhileUnused">RedefinedWhileUnused</a></td> |
58 <td>Class defining the "Redefined While Unused" message.</td> |
58 <td>Class defining the "Redefined While Unused" message.</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#UndefinedExport">UndefinedExport</a></td> |
60 <td><a href="#UndefinedExport">UndefinedExport</a></td> |
79 </table> |
79 </table> |
80 <hr /><hr /> |
80 <hr /><hr /> |
81 <a NAME="DoctestSyntaxError" ID="DoctestSyntaxError"></a> |
81 <a NAME="DoctestSyntaxError" ID="DoctestSyntaxError"></a> |
82 <h2>DoctestSyntaxError</h2> |
82 <h2>DoctestSyntaxError</h2> |
83 <p> |
83 <p> |
84 Class defining the "Syntax error in doctest" message. |
84 Class defining the "Doctest syntax Error" message. |
85 </p> |
85 </p> |
86 <h3>Derived from</h3> |
86 <h3>Derived from</h3> |
87 Message |
87 Message |
88 <h3>Class Attributes</h3> |
88 <h3>Class Attributes</h3> |
89 <table> |
89 <table> |
90 <tr><td>message</td></tr> |
90 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
91 </table> |
91 </table> |
92 <h3>Class Methods</h3> |
92 <h3>Class Methods</h3> |
93 <table> |
93 <table> |
94 <tr><td>None</td></tr> |
94 <tr><td>None</td></tr> |
95 </table> |
95 </table> |
113 <dt><i>filename</i></dt> |
113 <dt><i>filename</i></dt> |
114 <dd> |
114 <dd> |
115 name of the file (string) |
115 name of the file (string) |
116 </dd><dt><i>loc</i></dt> |
116 </dd><dt><i>loc</i></dt> |
117 <dd> |
117 <dd> |
118 location of warning (object) |
118 location of the issue |
119 </dd><dt><i>position=</i></dt> |
119 </dd><dt><i>position</i></dt> |
120 <dd> |
120 <dd> |
121 of warning if existent (object) |
121 position of the syntax error |
122 </dd> |
122 </dd> |
123 </dl> |
123 </dl> |
124 <div align="right"><a href="#top">Up</a></div> |
124 <div align="right"><a href="#top">Up</a></div> |
125 <hr /><hr /> |
125 <hr /><hr /> |
126 <a NAME="DuplicateArgument" ID="DuplicateArgument"></a> |
126 <a NAME="DuplicateArgument" ID="DuplicateArgument"></a> |
158 <dt><i>filename</i></dt> |
158 <dt><i>filename</i></dt> |
159 <dd> |
159 <dd> |
160 name of the file (string) |
160 name of the file (string) |
161 </dd><dt><i>loc</i></dt> |
161 </dd><dt><i>loc</i></dt> |
162 <dd> |
162 <dd> |
163 location of warning (object) |
163 location of the issue |
164 </dd><dt><i>name</i></dt> |
164 </dd><dt><i>name</i></dt> |
165 <dd> |
165 <dd> |
166 name of the duplicate argument (string) |
166 name of the duplicate argument (string) |
167 </dd> |
167 </dd> |
168 </dl> |
168 </dl> |
203 <dt><i>filename</i></dt> |
203 <dt><i>filename</i></dt> |
204 <dd> |
204 <dd> |
205 name of the file (string) |
205 name of the file (string) |
206 </dd><dt><i>loc</i></dt> |
206 </dd><dt><i>loc</i></dt> |
207 <dd> |
207 <dd> |
208 location of warning (object) |
208 location of the issue |
209 </dd><dt><i>name</i></dt> |
209 </dd><dt><i>name</i></dt> |
210 <dd> |
210 <dd> |
211 name of the shadowed import (string) |
211 name of the shadowed import (string) |
212 </dd><dt><i>orig_loc</i></dt> |
212 </dd><dt><i>orig_loc</i></dt> |
213 <dd> |
213 <dd> |
214 location of the import (object) |
214 location of the import |
215 </dd> |
215 </dd> |
216 </dl> |
216 </dl> |
217 <div align="right"><a href="#top">Up</a></div> |
217 <div align="right"><a href="#top">Up</a></div> |
218 <hr /><hr /> |
218 <hr /><hr /> |
219 <a NAME="ImportStarUsed" ID="ImportStarUsed"></a> |
219 <a NAME="ImportStarUsed" ID="ImportStarUsed"></a> |
251 <dt><i>filename</i></dt> |
251 <dt><i>filename</i></dt> |
252 <dd> |
252 <dd> |
253 name of the file (string) |
253 name of the file (string) |
254 </dd><dt><i>loc</i></dt> |
254 </dd><dt><i>loc</i></dt> |
255 <dd> |
255 <dd> |
256 location of warning (object) |
256 location of the issue |
257 </dd><dt><i>modname</i></dt> |
257 </dd><dt><i>modname</i></dt> |
258 <dd> |
258 <dd> |
259 name of the module imported using star import (string) |
259 name of the module imported using star import (string) |
260 </dd> |
260 </dd> |
261 </dl> |
261 </dl> |
296 <dt><i>filename</i></dt> |
296 <dt><i>filename</i></dt> |
297 <dd> |
297 <dd> |
298 name of the file (string) |
298 name of the file (string) |
299 </dd><dt><i>loc</i></dt> |
299 </dd><dt><i>loc</i></dt> |
300 <dd> |
300 <dd> |
301 location of warning (object) |
301 location of the issue |
302 </dd><dt><i>names</i></dt> |
302 </dd><dt><i>names</i></dt> |
303 <dd> |
303 <dd> |
304 names of the imported futures (string) |
304 names of the imported futures (string) |
305 </dd> |
305 </dd> |
306 </dl> |
306 </dl> |
313 </p> |
313 </p> |
314 <h3>Derived from</h3> |
314 <h3>Derived from</h3> |
315 object |
315 object |
316 <h3>Class Attributes</h3> |
316 <h3>Class Attributes</h3> |
317 <table> |
317 <table> |
318 <tr><td>message</td></tr><tr><td>message_args</td></tr> |
318 <tr><td>message</td></tr><tr><td>message_args</td></tr><tr><td>message_id</td></tr> |
319 </table> |
319 </table> |
320 <h3>Class Methods</h3> |
320 <h3>Class Methods</h3> |
321 <table> |
321 <table> |
322 <tr><td>None</td></tr> |
322 <tr><td>None</td></tr> |
323 </table> |
323 </table> |
347 <dt><i>filename</i></dt> |
347 <dt><i>filename</i></dt> |
348 <dd> |
348 <dd> |
349 name of the file (string) |
349 name of the file (string) |
350 </dd><dt><i>loc</i></dt> |
350 </dd><dt><i>loc</i></dt> |
351 <dd> |
351 <dd> |
352 location of warning (object) |
352 location of the issue |
353 </dd> |
353 </dd> |
354 </dl><a NAME="Message.__str__" ID="Message.__str__"></a> |
354 </dl><a NAME="Message.__str__" ID="Message.__str__"></a> |
355 <h4>Message.__str__</h4> |
355 <h4>Message.__str__</h4> |
356 <b>__str__</b>(<i></i>) |
356 <b>__str__</b>(<i></i>) |
357 <p> |
357 <p> |
367 <p> |
367 <p> |
368 Public method to get the individual message data elements. |
368 Public method to get the individual message data elements. |
369 </p><dl> |
369 </p><dl> |
370 <dt>Returns:</dt> |
370 <dt>Returns:</dt> |
371 <dd> |
371 <dd> |
372 tuple containing file name, line number and message |
372 tuple containing file name, line number, column, message ID |
373 (string, integer, string) |
373 and message arguments (string, integer, integer, string, list) |
374 </dd> |
374 </dd> |
375 </dl> |
375 </dl> |
376 <div align="right"><a href="#top">Up</a></div> |
376 <div align="right"><a href="#top">Up</a></div> |
377 <hr /><hr /> |
377 <hr /><hr /> |
378 <a NAME="Redefined" ID="Redefined"></a> |
378 <a NAME="Redefined" ID="Redefined"></a> |
410 <dt><i>filename</i></dt> |
410 <dt><i>filename</i></dt> |
411 <dd> |
411 <dd> |
412 name of the file (string) |
412 name of the file (string) |
413 </dd><dt><i>loc</i></dt> |
413 </dd><dt><i>loc</i></dt> |
414 <dd> |
414 <dd> |
415 location of warning (object) |
415 location of the issue |
416 </dd><dt><i>name</i></dt> |
416 </dd><dt><i>name</i></dt> |
417 <dd> |
417 <dd> |
418 name of the redefined function (string) |
418 name of the redefined function (string) |
419 </dd><dt><i>orig_loc</i></dt> |
419 </dd><dt><i>orig_loc</i></dt> |
420 <dd> |
420 <dd> |
421 location of the original definition (object) |
421 location of the original definition |
422 </dd> |
422 </dd> |
423 </dl> |
423 </dl> |
424 <div align="right"><a href="#top">Up</a></div> |
424 <div align="right"><a href="#top">Up</a></div> |
425 <hr /><hr /> |
425 <hr /><hr /> |
426 <a NAME="RedefinedInListComp" ID="RedefinedInListComp"></a> |
426 <a NAME="RedefinedInListComp" ID="RedefinedInListComp"></a> |
427 <h2>RedefinedInListComp</h2> |
427 <h2>RedefinedInListComp</h2> |
428 <p> |
428 <p> |
429 Class defining the list comprehension redefinition. |
429 Class defining the "Redefined In List Comprehension" message. |
430 </p> |
430 </p> |
431 <h3>Derived from</h3> |
431 <h3>Derived from</h3> |
432 Message |
432 Message |
433 <h3>Class Attributes</h3> |
433 <h3>Class Attributes</h3> |
434 <table> |
434 <table> |
435 <tr><td>message</td></tr> |
435 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
436 </table> |
436 </table> |
437 <h3>Class Methods</h3> |
437 <h3>Class Methods</h3> |
438 <table> |
438 <table> |
439 <tr><td>None</td></tr> |
439 <tr><td>None</td></tr> |
440 </table> |
440 </table> |
458 <dt><i>filename</i></dt> |
458 <dt><i>filename</i></dt> |
459 <dd> |
459 <dd> |
460 name of the file (string) |
460 name of the file (string) |
461 </dd><dt><i>loc</i></dt> |
461 </dd><dt><i>loc</i></dt> |
462 <dd> |
462 <dd> |
463 location of warning (object) |
463 location of the issue |
464 </dd><dt><i>name</i></dt> |
464 </dd><dt><i>name</i></dt> |
465 <dd> |
465 <dd> |
466 name of the redefined object (string) |
466 name of the redefined object (string) |
467 </dd><dt><i>orig_loc</i></dt> |
467 </dd><dt><i>orig_loc</i></dt> |
468 <dd> |
468 <dd> |
469 location of the original definition (object) |
469 location of the original definition |
470 </dd> |
470 </dd> |
471 </dl> |
471 </dl> |
472 <div align="right"><a href="#top">Up</a></div> |
472 <div align="right"><a href="#top">Up</a></div> |
473 <hr /><hr /> |
473 <hr /><hr /> |
474 <a NAME="RedefinedWhileUnused" ID="RedefinedWhileUnused"></a> |
474 <a NAME="RedefinedWhileUnused" ID="RedefinedWhileUnused"></a> |
506 <dt><i>filename</i></dt> |
506 <dt><i>filename</i></dt> |
507 <dd> |
507 <dd> |
508 name of the file (string) |
508 name of the file (string) |
509 </dd><dt><i>loc</i></dt> |
509 </dd><dt><i>loc</i></dt> |
510 <dd> |
510 <dd> |
511 location of warning (object) |
511 location of the issue |
512 </dd><dt><i>name</i></dt> |
512 </dd><dt><i>name</i></dt> |
513 <dd> |
513 <dd> |
514 name of the redefined object (string) |
514 name of the redefined object (string) |
515 </dd><dt><i>orig_loc</i></dt> |
515 </dd><dt><i>orig_loc</i></dt> |
516 <dd> |
516 <dd> |
517 location of the original definition (object) |
517 location of the original definition |
518 </dd> |
518 </dd> |
519 </dl> |
519 </dl> |
520 <div align="right"><a href="#top">Up</a></div> |
520 <div align="right"><a href="#top">Up</a></div> |
521 <hr /><hr /> |
521 <hr /><hr /> |
522 <a NAME="UndefinedExport" ID="UndefinedExport"></a> |
522 <a NAME="UndefinedExport" ID="UndefinedExport"></a> |
554 <dt><i>filename</i></dt> |
554 <dt><i>filename</i></dt> |
555 <dd> |
555 <dd> |
556 name of the file (string) |
556 name of the file (string) |
557 </dd><dt><i>loc</i></dt> |
557 </dd><dt><i>loc</i></dt> |
558 <dd> |
558 <dd> |
559 location of warning (object) |
559 location of the issue |
560 </dd><dt><i>name</i></dt> |
560 </dd><dt><i>name</i></dt> |
561 <dd> |
561 <dd> |
562 undefined exported name (string) |
562 undefined exported name (string) |
563 </dd> |
563 </dd> |
564 </dl> |
564 </dl> |
599 <dt><i>filename</i></dt> |
599 <dt><i>filename</i></dt> |
600 <dd> |
600 <dd> |
601 name of the file (string) |
601 name of the file (string) |
602 </dd><dt><i>loc</i></dt> |
602 </dd><dt><i>loc</i></dt> |
603 <dd> |
603 <dd> |
604 location of warning (object) |
604 location of the issue |
605 </dd><dt><i>name</i></dt> |
605 </dd><dt><i>name</i></dt> |
606 <dd> |
606 <dd> |
607 name of the prematurely referenced variable (string) |
607 name of the prematurely referenced variable (string) |
608 </dd><dt><i>orig_loc</i></dt> |
608 </dd><dt><i>orig_loc</i></dt> |
609 <dd> |
609 <dd> |
610 location of the variable definition (object) |
610 location of the variable definition |
611 </dd> |
611 </dd> |
612 </dl> |
612 </dl> |
613 <div align="right"><a href="#top">Up</a></div> |
613 <div align="right"><a href="#top">Up</a></div> |
614 <hr /><hr /> |
614 <hr /><hr /> |
615 <a NAME="UndefinedName" ID="UndefinedName"></a> |
615 <a NAME="UndefinedName" ID="UndefinedName"></a> |
647 <dt><i>filename</i></dt> |
647 <dt><i>filename</i></dt> |
648 <dd> |
648 <dd> |
649 name of the file (string) |
649 name of the file (string) |
650 </dd><dt><i>loc</i></dt> |
650 </dd><dt><i>loc</i></dt> |
651 <dd> |
651 <dd> |
652 location of warning (object) |
652 location of the issue |
653 </dd><dt><i>name</i></dt> |
653 </dd><dt><i>name</i></dt> |
654 <dd> |
654 <dd> |
655 undefined name (string) |
655 undefined name (string) |
656 </dd> |
656 </dd> |
657 </dl> |
657 </dl> |
692 <dt><i>filename</i></dt> |
692 <dt><i>filename</i></dt> |
693 <dd> |
693 <dd> |
694 name of the file (string) |
694 name of the file (string) |
695 </dd><dt><i>loc</i></dt> |
695 </dd><dt><i>loc</i></dt> |
696 <dd> |
696 <dd> |
697 location of warning (object) |
697 location of the issue |
698 </dd><dt><i>name</i></dt> |
698 </dd><dt><i>name</i></dt> |
699 <dd> |
699 <dd> |
700 name of the unused import (string) |
700 name of the unused import (string) |
701 </dd> |
701 </dd> |
702 </dl> |
702 </dl> |
740 <dt><i>filename</i></dt> |
740 <dt><i>filename</i></dt> |
741 <dd> |
741 <dd> |
742 name of the file (string) |
742 name of the file (string) |
743 </dd><dt><i>loc</i></dt> |
743 </dd><dt><i>loc</i></dt> |
744 <dd> |
744 <dd> |
745 location of warning (object) |
745 location of the issue |
746 </dd><dt><i>names</i></dt> |
746 </dd><dt><i>names</i></dt> |
747 <dd> |
747 <dd> |
748 names of the unused variable (string) |
748 names of unused variable (string) |
749 </dd> |
749 </dd> |
750 </dl> |
750 </dl> |
751 <div align="right"><a href="#top">Up</a></div> |
751 <div align="right"><a href="#top">Up</a></div> |
752 <hr /> |
752 <hr /> |
753 </body></html> |
753 </body></html> |