eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.html

changeset 7610
df7025fe26a3
parent 7273
391d6b7b1eff
child 7631
2c7ccb4484bf
equal deleted inserted replaced
7609:d5aff4fd0ef8 7610:df7025fe26a3
400 <p> 400 <p>
401 Codes: E301, E302, E303, E305, E306, E307, E308 401 Codes: E301, E302, E303, E305, E306, E307, E308
402 </p> 402 </p>
403 <dl> 403 <dl>
404 404
405 <dt><i>code</i></dt> 405 <dt><i>code</i> (str)</dt>
406 <dd> 406 <dd>
407 code of the issue (string) 407 code of the issue
408 </dd> 408 </dd>
409 <dt><i>line</i></dt> 409 <dt><i>line</i> (int)</dt>
410 <dd> 410 <dd>
411 line number of the issue (integer) 411 line number of the issue
412 </dd> 412 </dd>
413 <dt><i>pos</i></dt> 413 <dt><i>pos</i> (int)</dt>
414 <dd> 414 <dd>
415 position inside line (integer) 415 position inside line
416 </dd> 416 </dd>
417 <dt><i>apply=</i></dt> 417 <dt><i>apply</i> (bool)</dt>
418 <dd> 418 <dd>
419 flag indicating, that the fix should be applied 419 flag indicating, that the fix should be applied
420 (boolean) 420 </dd>
421 </dd> 421 </dl>
422 </dl> 422 <dl>
423 <dl> 423 <dt>Returns:</dt>
424 <dt>Returns:</dt> 424 <dd>
425 <dd> 425 value indicating an applied/deferred fix (-1, 0, 1),
426 value indicating an applied/deferred fix (-1, 0, 1), 426 a message code for the fix, a list of arguments for the
427 a message for the fix (string) and an ID for a deferred 427 message and an ID for a deferred fix
428 fix (integer) 428 </dd>
429 </dl>
430 <dl>
431 <dt>Return Type:</dt>
432 <dd>
433 tuple of (int, str, list or int, int)
429 </dd> 434 </dd>
430 </dl> 435 </dl>
431 <a NAME="CodeStyleFixer.__fixD111" ID="CodeStyleFixer.__fixD111"></a> 436 <a NAME="CodeStyleFixer.__fixD111" ID="CodeStyleFixer.__fixD111"></a>
432 <h4>CodeStyleFixer.__fixD111</h4> 437 <h4>CodeStyleFixer.__fixD111</h4>
433 <b>__fixD111</b>(<i>code, line, pos</i>) 438 <b>__fixD111</b>(<i>code, line, pos</i>)
438 <p> 443 <p>
439 Codes: D111 444 Codes: D111
440 </p> 445 </p>
441 <dl> 446 <dl>
442 447
443 <dt><i>code</i></dt> 448 <dt><i>code</i> (str)</dt>
444 <dd> 449 <dd>
445 code of the issue (string) 450 code of the issue
446 </dd> 451 </dd>
447 <dt><i>line</i></dt> 452 <dt><i>line</i> (int)</dt>
448 <dd> 453 <dd>
449 line number of the issue (integer) 454 line number of the issue
450 </dd> 455 </dd>
451 <dt><i>pos</i></dt> 456 <dt><i>pos</i> (int)</dt>
452 <dd> 457 <dd>
453 position inside line (integer) 458 position inside line
454 </dd> 459 </dd>
455 </dl> 460 </dl>
456 <dl> 461 <dl>
457 <dt>Returns:</dt> 462 <dt>Returns:</dt>
458 <dd> 463 <dd>
459 value indicating an applied/deferred fix (-1, 0, 1), 464 value indicating an applied/deferred fix (-1, 0, 1),
460 a message for the fix (string) and an ID for a deferred 465 a message code for the fix, a list of arguments for the
461 fix (integer) 466 message and an ID for a deferred fix
467 </dd>
468 </dl>
469 <dl>
470 <dt>Return Type:</dt>
471 <dd>
472 tuple of (int, str, list or int, int)
462 </dd> 473 </dd>
463 </dl> 474 </dl>
464 <a NAME="CodeStyleFixer.__fixD112" ID="CodeStyleFixer.__fixD112"></a> 475 <a NAME="CodeStyleFixer.__fixD112" ID="CodeStyleFixer.__fixD112"></a>
465 <h4>CodeStyleFixer.__fixD112</h4> 476 <h4>CodeStyleFixer.__fixD112</h4>
466 <b>__fixD112</b>(<i>code, line, pos</i>) 477 <b>__fixD112</b>(<i>code, line, pos</i>)
471 <p> 482 <p>
472 Codes: D112, D113 483 Codes: D112, D113
473 </p> 484 </p>
474 <dl> 485 <dl>
475 486
476 <dt><i>code</i></dt> 487 <dt><i>code</i> (str)</dt>
477 <dd> 488 <dd>
478 code of the issue (string) 489 code of the issue
479 </dd> 490 </dd>
480 <dt><i>line</i></dt> 491 <dt><i>line</i> (int)</dt>
481 <dd> 492 <dd>
482 line number of the issue (integer) 493 line number of the issue
483 </dd> 494 </dd>
484 <dt><i>pos</i></dt> 495 <dt><i>pos</i> (int)</dt>
485 <dd> 496 <dd>
486 position inside line (integer) 497 position inside line
487 </dd> 498 </dd>
488 </dl> 499 </dl>
489 <dl> 500 <dl>
490 <dt>Returns:</dt> 501 <dt>Returns:</dt>
491 <dd> 502 <dd>
492 value indicating an applied/deferred fix (-1, 0, 1), 503 value indicating an applied/deferred fix (-1, 0, 1),
493 a message for the fix (string) and an ID for a deferred 504 a message code for the fix, a list of arguments for the
494 fix (integer) 505 message and an ID for a deferred fix
506 </dd>
507 </dl>
508 <dl>
509 <dt>Return Type:</dt>
510 <dd>
511 tuple of (int, str, list or int, int)
495 </dd> 512 </dd>
496 </dl> 513 </dl>
497 <a NAME="CodeStyleFixer.__fixD121" ID="CodeStyleFixer.__fixD121"></a> 514 <a NAME="CodeStyleFixer.__fixD121" ID="CodeStyleFixer.__fixD121"></a>
498 <h4>CodeStyleFixer.__fixD121</h4> 515 <h4>CodeStyleFixer.__fixD121</h4>
499 <b>__fixD121</b>(<i>code, line, pos, apply=False</i>) 516 <b>__fixD121</b>(<i>code, line, pos, apply=False</i>)
504 <p> 521 <p>
505 Codes: D121 522 Codes: D121
506 </p> 523 </p>
507 <dl> 524 <dl>
508 525
509 <dt><i>code</i></dt> 526 <dt><i>code</i> (str)</dt>
510 <dd> 527 <dd>
511 code of the issue (string) 528 code of the issue
512 </dd> 529 </dd>
513 <dt><i>line</i></dt> 530 <dt><i>line</i> (int)</dt>
514 <dd> 531 <dd>
515 line number of the issue (integer) 532 line number of the issue
516 </dd> 533 </dd>
517 <dt><i>pos</i></dt> 534 <dt><i>pos</i> (int)</dt>
518 <dd> 535 <dd>
519 position inside line (integer) 536 position inside line
520 </dd> 537 </dd>
521 <dt><i>apply=</i></dt> 538 <dt><i>apply</i> (bool)</dt>
522 <dd> 539 <dd>
523 flag indicating, that the fix should be applied 540 flag indicating, that the fix should be applied
524 (boolean) 541 </dd>
525 </dd> 542 </dl>
526 </dl> 543 <dl>
527 <dl> 544 <dt>Returns:</dt>
528 <dt>Returns:</dt> 545 <dd>
529 <dd> 546 value indicating an applied/deferred fix (-1, 0, 1),
530 value indicating an applied/deferred fix (-1, 0, 1), 547 a message code for the fix, a list of arguments for the
531 a message for the fix (string) and an ID for a deferred 548 message and an ID for a deferred fix
532 fix (integer) 549 </dd>
550 </dl>
551 <dl>
552 <dt>Return Type:</dt>
553 <dd>
554 tuple of (int, str, list or int, int)
533 </dd> 555 </dd>
534 </dl> 556 </dl>
535 <a NAME="CodeStyleFixer.__fixD131" ID="CodeStyleFixer.__fixD131"></a> 557 <a NAME="CodeStyleFixer.__fixD131" ID="CodeStyleFixer.__fixD131"></a>
536 <h4>CodeStyleFixer.__fixD131</h4> 558 <h4>CodeStyleFixer.__fixD131</h4>
537 <b>__fixD131</b>(<i>code, line, pos</i>) 559 <b>__fixD131</b>(<i>code, line, pos</i>)
543 <p> 565 <p>
544 Codes: D131 566 Codes: D131
545 </p> 567 </p>
546 <dl> 568 <dl>
547 569
548 <dt><i>code</i></dt> 570 <dt><i>code</i> (str)</dt>
549 <dd> 571 <dd>
550 code of the issue (string) 572 code of the issue
551 </dd> 573 </dd>
552 <dt><i>line</i></dt> 574 <dt><i>line</i> (int)</dt>
553 <dd> 575 <dd>
554 line number of the issue (integer) 576 line number of the issue
555 </dd> 577 </dd>
556 <dt><i>pos</i></dt> 578 <dt><i>pos</i> (int)</dt>
557 <dd> 579 <dd>
558 position inside line (integer) 580 position inside line
559 </dd> 581 </dd>
560 </dl> 582 </dl>
561 <dl> 583 <dl>
562 <dt>Returns:</dt> 584 <dt>Returns:</dt>
563 <dd> 585 <dd>
564 value indicating an applied/deferred fix (-1, 0, 1), 586 value indicating an applied/deferred fix (-1, 0, 1),
565 a message for the fix (string) and an ID for a deferred 587 a message code for the fix, a list of arguments for the
566 fix (integer) 588 message and an ID for a deferred fix
589 </dd>
590 </dl>
591 <dl>
592 <dt>Return Type:</dt>
593 <dd>
594 tuple of (int, str, list or int, int)
567 </dd> 595 </dd>
568 </dl> 596 </dl>
569 <a NAME="CodeStyleFixer.__fixD141" ID="CodeStyleFixer.__fixD141"></a> 597 <a NAME="CodeStyleFixer.__fixD141" ID="CodeStyleFixer.__fixD141"></a>
570 <h4>CodeStyleFixer.__fixD141</h4> 598 <h4>CodeStyleFixer.__fixD141</h4>
571 <b>__fixD141</b>(<i>code, line, pos, apply=False</i>) 599 <b>__fixD141</b>(<i>code, line, pos, apply=False</i>)
577 <p> 605 <p>
578 Codes: D141 606 Codes: D141
579 </p> 607 </p>
580 <dl> 608 <dl>
581 609
582 <dt><i>code</i></dt> 610 <dt><i>code</i> (str)</dt>
583 <dd> 611 <dd>
584 code of the issue (string) 612 code of the issue
585 </dd> 613 </dd>
586 <dt><i>line</i></dt> 614 <dt><i>line</i> (int)</dt>
587 <dd> 615 <dd>
588 line number of the issue (integer) 616 line number of the issue
589 </dd> 617 </dd>
590 <dt><i>pos</i></dt> 618 <dt><i>pos</i> (int)</dt>
591 <dd> 619 <dd>
592 position inside line (integer) 620 position inside line
593 </dd> 621 </dd>
594 <dt><i>apply=</i></dt> 622 <dt><i>apply</i> (bool)</dt>
595 <dd> 623 <dd>
596 flag indicating, that the fix should be applied 624 flag indicating, that the fix should be applied
597 (boolean) 625 </dd>
598 </dd> 626 </dl>
599 </dl> 627 <dl>
600 <dl> 628 <dt>Returns:</dt>
601 <dt>Returns:</dt> 629 <dd>
602 <dd> 630 value indicating an applied/deferred fix (-1, 0, 1),
603 value indicating an applied/deferred fix (-1, 0, 1), 631 a message code for the fix, a list of arguments for the
604 a message for the fix (string) and an ID for a deferred 632 message and an ID for a deferred fix
605 fix (integer) 633 </dd>
634 </dl>
635 <dl>
636 <dt>Return Type:</dt>
637 <dd>
638 tuple of (int, str, list or int, int)
606 </dd> 639 </dd>
607 </dl> 640 </dl>
608 <a NAME="CodeStyleFixer.__fixD142" ID="CodeStyleFixer.__fixD142"></a> 641 <a NAME="CodeStyleFixer.__fixD142" ID="CodeStyleFixer.__fixD142"></a>
609 <h4>CodeStyleFixer.__fixD142</h4> 642 <h4>CodeStyleFixer.__fixD142</h4>
610 <b>__fixD142</b>(<i>code, line, pos, apply=False</i>) 643 <b>__fixD142</b>(<i>code, line, pos, apply=False</i>)
616 <p> 649 <p>
617 Codes: D142 650 Codes: D142
618 </p> 651 </p>
619 <dl> 652 <dl>
620 653
621 <dt><i>code</i></dt> 654 <dt><i>code</i> (str)</dt>
622 <dd> 655 <dd>
623 code of the issue (string) 656 code of the issue
624 </dd> 657 </dd>
625 <dt><i>line</i></dt> 658 <dt><i>line</i> (int)</dt>
626 <dd> 659 <dd>
627 line number of the issue (integer) 660 line number of the issue
628 </dd> 661 </dd>
629 <dt><i>pos</i></dt> 662 <dt><i>pos</i> (int)</dt>
630 <dd> 663 <dd>
631 position inside line (integer) 664 position inside line
632 </dd> 665 </dd>
633 <dt><i>apply=</i></dt> 666 <dt><i>apply</i> (bool)</dt>
634 <dd> 667 <dd>
635 flag indicating, that the fix should be applied 668 flag indicating, that the fix should be applied
636 (boolean) 669 </dd>
637 </dd> 670 </dl>
638 </dl> 671 <dl>
639 <dl> 672 <dt>Returns:</dt>
640 <dt>Returns:</dt> 673 <dd>
641 <dd> 674 value indicating an applied/deferred fix (-1, 0, 1),
642 value indicating an applied/deferred fix (-1, 0, 1), 675 a message code for the fix, a list of arguments for the
643 a message for the fix (string) and an ID for a deferred 676 message and an ID for a deferred fix
644 fix (integer) 677 </dd>
678 </dl>
679 <dl>
680 <dt>Return Type:</dt>
681 <dd>
682 tuple of (int, str, list or int, int)
645 </dd> 683 </dd>
646 </dl> 684 </dl>
647 <a NAME="CodeStyleFixer.__fixD143" ID="CodeStyleFixer.__fixD143"></a> 685 <a NAME="CodeStyleFixer.__fixD143" ID="CodeStyleFixer.__fixD143"></a>
648 <h4>CodeStyleFixer.__fixD143</h4> 686 <h4>CodeStyleFixer.__fixD143</h4>
649 <b>__fixD143</b>(<i>code, line, pos, apply=False</i>) 687 <b>__fixD143</b>(<i>code, line, pos, apply=False</i>)
655 <p> 693 <p>
656 Codes: D143 694 Codes: D143
657 </p> 695 </p>
658 <dl> 696 <dl>
659 697
660 <dt><i>code</i></dt> 698 <dt><i>code</i> (str)</dt>
661 <dd> 699 <dd>
662 code of the issue (string) 700 code of the issue
663 </dd> 701 </dd>
664 <dt><i>line</i></dt> 702 <dt><i>line</i> (int)</dt>
665 <dd> 703 <dd>
666 line number of the issue (integer) 704 line number of the issue
667 </dd> 705 </dd>
668 <dt><i>pos</i></dt> 706 <dt><i>pos</i> (int)</dt>
669 <dd> 707 <dd>
670 position inside line (integer) 708 position inside line
671 </dd> 709 </dd>
672 <dt><i>apply=</i></dt> 710 <dt><i>apply</i> (bool)</dt>
673 <dd> 711 <dd>
674 flag indicating, that the fix should be applied 712 flag indicating, that the fix should be applied
675 (boolean) 713 </dd>
676 </dd> 714 </dl>
677 </dl> 715 <dl>
678 <dl> 716 <dt>Returns:</dt>
679 <dt>Returns:</dt> 717 <dd>
680 <dd> 718 value indicating an applied/deferred fix (-1, 0, 1),
681 value indicating an applied/deferred fix (-1, 0, 1), 719 a message code for the fix, a list of arguments for the
682 a message for the fix (string) and an ID for a deferred 720 message and an ID for a deferred fix
683 fix (integer) 721 </dd>
722 </dl>
723 <dl>
724 <dt>Return Type:</dt>
725 <dd>
726 tuple of (int, str, list or int, int)
684 </dd> 727 </dd>
685 </dl> 728 </dl>
686 <a NAME="CodeStyleFixer.__fixD144" ID="CodeStyleFixer.__fixD144"></a> 729 <a NAME="CodeStyleFixer.__fixD144" ID="CodeStyleFixer.__fixD144"></a>
687 <h4>CodeStyleFixer.__fixD144</h4> 730 <h4>CodeStyleFixer.__fixD144</h4>
688 <b>__fixD144</b>(<i>code, line, pos, apply=False</i>) 731 <b>__fixD144</b>(<i>code, line, pos, apply=False</i>)
694 <p> 737 <p>
695 Codes: D144 738 Codes: D144
696 </p> 739 </p>
697 <dl> 740 <dl>
698 741
699 <dt><i>code</i></dt> 742 <dt><i>code</i> (str)</dt>
700 <dd> 743 <dd>
701 code of the issue (string) 744 code of the issue
702 </dd> 745 </dd>
703 <dt><i>line</i></dt> 746 <dt><i>line</i> (int)</dt>
704 <dd> 747 <dd>
705 line number of the issue (integer) 748 line number of the issue
706 </dd> 749 </dd>
707 <dt><i>pos</i></dt> 750 <dt><i>pos</i> (int)</dt>
708 <dd> 751 <dd>
709 position inside line (integer) 752 position inside line
710 </dd> 753 </dd>
711 <dt><i>apply=</i></dt> 754 <dt><i>apply</i> (bool)</dt>
712 <dd> 755 <dd>
713 flag indicating, that the fix should be applied 756 flag indicating, that the fix should be applied
714 (boolean) 757 </dd>
715 </dd> 758 </dl>
716 </dl> 759 <dl>
717 <dl> 760 <dt>Returns:</dt>
718 <dt>Returns:</dt> 761 <dd>
719 <dd> 762 value indicating an applied/deferred fix (-1, 0, 1),
720 value indicating an applied/deferred fix (-1, 0, 1), 763 a message code for the fix, a list of arguments for the
721 a message for the fix (string) and an ID for a deferred 764 message and an ID for a deferred fix
722 fix (integer) 765 </dd>
766 </dl>
767 <dl>
768 <dt>Return Type:</dt>
769 <dd>
770 tuple of (int, str, list or int, int)
723 </dd> 771 </dd>
724 </dl> 772 </dl>
725 <a NAME="CodeStyleFixer.__fixD145" ID="CodeStyleFixer.__fixD145"></a> 773 <a NAME="CodeStyleFixer.__fixD145" ID="CodeStyleFixer.__fixD145"></a>
726 <h4>CodeStyleFixer.__fixD145</h4> 774 <h4>CodeStyleFixer.__fixD145</h4>
727 <b>__fixD145</b>(<i>code, line, pos, apply=False</i>) 775 <b>__fixD145</b>(<i>code, line, pos, apply=False</i>)
733 <p> 781 <p>
734 Codes: D143 782 Codes: D143
735 </p> 783 </p>
736 <dl> 784 <dl>
737 785
738 <dt><i>code</i></dt> 786 <dt><i>code</i> (str)</dt>
739 <dd> 787 <dd>
740 code of the issue (string) 788 code of the issue
741 </dd> 789 </dd>
742 <dt><i>line</i></dt> 790 <dt><i>line</i> (int)</dt>
743 <dd> 791 <dd>
744 line number of the issue (integer) 792 line number of the issue
745 </dd> 793 </dd>
746 <dt><i>pos</i></dt> 794 <dt><i>pos</i> (int)</dt>
747 <dd> 795 <dd>
748 position inside line (integer) 796 position inside line
749 </dd> 797 </dd>
750 <dt><i>apply=</i></dt> 798 <dt><i>apply</i> (bool)</dt>
751 <dd> 799 <dd>
752 flag indicating, that the fix should be applied 800 flag indicating, that the fix should be applied
753 (boolean) 801 </dd>
754 </dd> 802 </dl>
755 </dl> 803 <dl>
756 <dl> 804 <dt>Returns:</dt>
757 <dt>Returns:</dt> 805 <dd>
758 <dd> 806 value indicating an applied/deferred fix (-1, 0, 1),
759 value indicating an applied/deferred fix (-1, 0, 1), 807 a message code for the fix, a list of arguments for the
760 a message for the fix (string) and an ID for a deferred 808 message and an ID for a deferred fix
761 fix (integer) 809 </dd>
810 </dl>
811 <dl>
812 <dt>Return Type:</dt>
813 <dd>
814 tuple of (int, str, list or int, int)
762 </dd> 815 </dd>
763 </dl> 816 </dl>
764 <a NAME="CodeStyleFixer.__fixD221" ID="CodeStyleFixer.__fixD221"></a> 817 <a NAME="CodeStyleFixer.__fixD221" ID="CodeStyleFixer.__fixD221"></a>
765 <h4>CodeStyleFixer.__fixD221</h4> 818 <h4>CodeStyleFixer.__fixD221</h4>
766 <b>__fixD221</b>(<i>code, line, pos, apply=False</i>) 819 <b>__fixD221</b>(<i>code, line, pos, apply=False</i>)
772 <p> 825 <p>
773 Codes: D221, D222 826 Codes: D221, D222
774 </p> 827 </p>
775 <dl> 828 <dl>
776 829
777 <dt><i>code</i></dt> 830 <dt><i>code</i> (str)</dt>
778 <dd> 831 <dd>
779 code of the issue (string) 832 code of the issue
780 </dd> 833 </dd>
781 <dt><i>line</i></dt> 834 <dt><i>line</i> (int)</dt>
782 <dd> 835 <dd>
783 line number of the issue (integer) 836 line number of the issue
784 </dd> 837 </dd>
785 <dt><i>pos</i></dt> 838 <dt><i>pos</i> (int)</dt>
786 <dd> 839 <dd>
787 position inside line (integer) 840 position inside line
788 </dd> 841 </dd>
789 <dt><i>apply=</i></dt> 842 <dt><i>apply</i> (bool)</dt>
790 <dd> 843 <dd>
791 flag indicating, that the fix should be applied 844 flag indicating, that the fix should be applied
792 (boolean) 845 </dd>
793 </dd> 846 </dl>
794 </dl> 847 <dl>
795 <dl> 848 <dt>Returns:</dt>
796 <dt>Returns:</dt> 849 <dd>
797 <dd> 850 value indicating an applied/deferred fix (-1, 0, 1),
798 value indicating an applied/deferred fix (-1, 0, 1), 851 a message code for the fix, a list of arguments for the
799 a message for the fix (string) and an ID for a deferred 852 message and an ID for a deferred fix
800 fix (integer) 853 </dd>
854 </dl>
855 <dl>
856 <dt>Return Type:</dt>
857 <dd>
858 tuple of (int, str, list or int, int)
801 </dd> 859 </dd>
802 </dl> 860 </dl>
803 <a NAME="CodeStyleFixer.__fixD242" ID="CodeStyleFixer.__fixD242"></a> 861 <a NAME="CodeStyleFixer.__fixD242" ID="CodeStyleFixer.__fixD242"></a>
804 <h4>CodeStyleFixer.__fixD242</h4> 862 <h4>CodeStyleFixer.__fixD242</h4>
805 <b>__fixD242</b>(<i>code, line, pos, apply=False</i>) 863 <b>__fixD242</b>(<i>code, line, pos, apply=False</i>)
811 <p> 869 <p>
812 Codes: D242, D244 870 Codes: D242, D244
813 </p> 871 </p>
814 <dl> 872 <dl>
815 873
816 <dt><i>code</i></dt> 874 <dt><i>code</i> (str)</dt>
817 <dd> 875 <dd>
818 code of the issue (string) 876 code of the issue
819 </dd> 877 </dd>
820 <dt><i>line</i></dt> 878 <dt><i>line</i> (int)</dt>
821 <dd> 879 <dd>
822 line number of the issue (integer) 880 line number of the issue
823 </dd> 881 </dd>
824 <dt><i>pos</i></dt> 882 <dt><i>pos</i> (int)</dt>
825 <dd> 883 <dd>
826 position inside line (integer) 884 position inside line
827 </dd> 885 </dd>
828 <dt><i>apply=</i></dt> 886 <dt><i>apply</i> (bool)</dt>
829 <dd> 887 <dd>
830 flag indicating, that the fix should be applied 888 flag indicating, that the fix should be applied
831 (boolean) 889 </dd>
832 </dd> 890 </dl>
833 </dl> 891 <dl>
834 <dl> 892 <dt>Returns:</dt>
835 <dt>Returns:</dt> 893 <dd>
836 <dd> 894 value indicating an applied/deferred fix (-1, 0, 1),
837 value indicating an applied/deferred fix (-1, 0, 1), 895 a message code for the fix, a list of arguments for the
838 a message for the fix (string) and an ID for a deferred 896 message and an ID for a deferred fix
839 fix (integer) 897 </dd>
898 </dl>
899 <dl>
900 <dt>Return Type:</dt>
901 <dd>
902 tuple of (int, str, list or int, int)
840 </dd> 903 </dd>
841 </dl> 904 </dl>
842 <a NAME="CodeStyleFixer.__fixD243" ID="CodeStyleFixer.__fixD243"></a> 905 <a NAME="CodeStyleFixer.__fixD243" ID="CodeStyleFixer.__fixD243"></a>
843 <h4>CodeStyleFixer.__fixD243</h4> 906 <h4>CodeStyleFixer.__fixD243</h4>
844 <b>__fixD243</b>(<i>code, line, pos, apply=False</i>) 907 <b>__fixD243</b>(<i>code, line, pos, apply=False</i>)
850 <p> 913 <p>
851 Codes: D243, D245 914 Codes: D243, D245
852 </p> 915 </p>
853 <dl> 916 <dl>
854 917
855 <dt><i>code</i></dt> 918 <dt><i>code</i> (str)</dt>
856 <dd> 919 <dd>
857 code of the issue (string) 920 code of the issue
858 </dd> 921 </dd>
859 <dt><i>line</i></dt> 922 <dt><i>line</i> (int)</dt>
860 <dd> 923 <dd>
861 line number of the issue (integer) 924 line number of the issue
862 </dd> 925 </dd>
863 <dt><i>pos</i></dt> 926 <dt><i>pos</i> (int)</dt>
864 <dd> 927 <dd>
865 position inside line (integer) 928 position inside line
866 </dd> 929 </dd>
867 <dt><i>apply=</i></dt> 930 <dt><i>apply</i> (bool)</dt>
868 <dd> 931 <dd>
869 flag indicating, that the fix should be applied 932 flag indicating, that the fix should be applied
870 (boolean) 933 </dd>
871 </dd> 934 </dl>
872 </dl> 935 <dl>
873 <dl> 936 <dt>Returns:</dt>
874 <dt>Returns:</dt> 937 <dd>
875 <dd> 938 value indicating an applied/deferred fix (-1, 0, 1),
876 value indicating an applied/deferred fix (-1, 0, 1), 939 a message code for the fix, a list of arguments for the
877 a message for the fix (string) and an ID for a deferred 940 message and an ID for a deferred fix
878 fix (integer) 941 </dd>
942 </dl>
943 <dl>
944 <dt>Return Type:</dt>
945 <dd>
946 tuple of (int, str, list or int, int)
879 </dd> 947 </dd>
880 </dl> 948 </dl>
881 <a NAME="CodeStyleFixer.__fixD247" ID="CodeStyleFixer.__fixD247"></a> 949 <a NAME="CodeStyleFixer.__fixD247" ID="CodeStyleFixer.__fixD247"></a>
882 <h4>CodeStyleFixer.__fixD247</h4> 950 <h4>CodeStyleFixer.__fixD247</h4>
883 <b>__fixD247</b>(<i>code, line, pos, apply=False</i>) 951 <b>__fixD247</b>(<i>code, line, pos, apply=False</i>)
889 <p> 957 <p>
890 Codes: D247 958 Codes: D247
891 </p> 959 </p>
892 <dl> 960 <dl>
893 961
894 <dt><i>code</i></dt> 962 <dt><i>code</i> (str)</dt>
895 <dd> 963 <dd>
896 code of the issue (string) 964 code of the issue
897 </dd> 965 </dd>
898 <dt><i>line</i></dt> 966 <dt><i>line</i> (int)</dt>
899 <dd> 967 <dd>
900 line number of the issue (integer) 968 line number of the issue
901 </dd> 969 </dd>
902 <dt><i>pos</i></dt> 970 <dt><i>pos</i> (int)</dt>
903 <dd> 971 <dd>
904 position inside line (integer) 972 position inside line
905 </dd> 973 </dd>
906 <dt><i>apply=</i></dt> 974 <dt><i>apply</i> (bool)</dt>
907 <dd> 975 <dd>
908 flag indicating, that the fix should be applied 976 flag indicating, that the fix should be applied
909 (boolean) 977 </dd>
910 </dd> 978 </dl>
911 </dl> 979 <dl>
912 <dl> 980 <dt>Returns:</dt>
913 <dt>Returns:</dt> 981 <dd>
914 <dd> 982 value indicating an applied/deferred fix (-1, 0, 1),
915 value indicating an applied/deferred fix (-1, 0, 1), 983 a message code for the fix, a list of arguments for the
916 a message for the fix (string) and an ID for a deferred 984 message and an ID for a deferred fix
917 fix (integer) 985 </dd>
986 </dl>
987 <dl>
988 <dt>Return Type:</dt>
989 <dd>
990 tuple of (int, str, list or int, int)
918 </dd> 991 </dd>
919 </dl> 992 </dl>
920 <a NAME="CodeStyleFixer.__fixE101" ID="CodeStyleFixer.__fixE101"></a> 993 <a NAME="CodeStyleFixer.__fixE101" ID="CodeStyleFixer.__fixE101"></a>
921 <h4>CodeStyleFixer.__fixE101</h4> 994 <h4>CodeStyleFixer.__fixE101</h4>
922 <b>__fixE101</b>(<i>code, line, pos</i>) 995 <b>__fixE101</b>(<i>code, line, pos</i>)
927 <p> 1000 <p>
928 Codes: E101, E111, W191 1001 Codes: E101, E111, W191
929 </p> 1002 </p>
930 <dl> 1003 <dl>
931 1004
932 <dt><i>code</i></dt> 1005 <dt><i>code</i> (str)</dt>
933 <dd> 1006 <dd>
934 code of the issue (string) 1007 code of the issue
935 </dd> 1008 </dd>
936 <dt><i>line</i></dt> 1009 <dt><i>line</i> (int)</dt>
937 <dd> 1010 <dd>
938 line number of the issue (integer) 1011 line number of the issue
939 </dd> 1012 </dd>
940 <dt><i>pos</i></dt> 1013 <dt><i>pos</i> (int)</dt>
941 <dd> 1014 <dd>
942 position inside line (integer) 1015 position inside line
943 </dd> 1016 </dd>
944 </dl> 1017 </dl>
945 <dl> 1018 <dl>
946 <dt>Returns:</dt> 1019 <dt>Returns:</dt>
947 <dd> 1020 <dd>
948 value indicating an applied/deferred fix (-1, 0, 1), 1021 value indicating an applied/deferred fix (-1, 0, 1),
949 a message for the fix (string) and an ID for a deferred 1022 a message code for the fix, a list of arguments for the
950 fix (integer) 1023 message and an ID for a deferred fix
1024 </dd>
1025 </dl>
1026 <dl>
1027 <dt>Return Type:</dt>
1028 <dd>
1029 tuple of (int, str, list or int, int)
951 </dd> 1030 </dd>
952 </dl> 1031 </dl>
953 <a NAME="CodeStyleFixer.__fixE121" ID="CodeStyleFixer.__fixE121"></a> 1032 <a NAME="CodeStyleFixer.__fixE121" ID="CodeStyleFixer.__fixE121"></a>
954 <h4>CodeStyleFixer.__fixE121</h4> 1033 <h4>CodeStyleFixer.__fixE121</h4>
955 <b>__fixE121</b>(<i>code, line, pos, apply=False</i>) 1034 <b>__fixE121</b>(<i>code, line, pos, apply=False</i>)
961 <p> 1040 <p>
962 Codes: E121, E124 1041 Codes: E121, E124
963 </p> 1042 </p>
964 <dl> 1043 <dl>
965 1044
966 <dt><i>code</i></dt> 1045 <dt><i>code</i> (str)</dt>
967 <dd> 1046 <dd>
968 code of the issue (string) 1047 code of the issue
969 </dd> 1048 </dd>
970 <dt><i>line</i></dt> 1049 <dt><i>line</i> (int)</dt>
971 <dd> 1050 <dd>
972 line number of the issue (integer) 1051 line number of the issue
973 </dd> 1052 </dd>
974 <dt><i>pos</i></dt> 1053 <dt><i>pos</i> (int)</dt>
975 <dd> 1054 <dd>
976 position inside line (integer) 1055 position inside line
977 </dd> 1056 </dd>
978 <dt><i>apply=</i></dt> 1057 <dt><i>apply</i> (bool)</dt>
979 <dd> 1058 <dd>
980 flag indicating, that the fix should be applied 1059 flag indicating, that the fix should be applied
981 (boolean) 1060 </dd>
982 </dd> 1061 </dl>
983 </dl> 1062 <dl>
984 <dl> 1063 <dt>Returns:</dt>
985 <dt>Returns:</dt> 1064 <dd>
986 <dd> 1065 value indicating an applied/deferred fix (-1, 0, 1),
987 value indicating an applied/deferred fix (-1, 0, 1), 1066 a message code for the fix, a list of arguments for the
988 a message for the fix (string) and an ID for a deferred 1067 message and an ID for a deferred fix
989 fix (integer) 1068 </dd>
1069 </dl>
1070 <dl>
1071 <dt>Return Type:</dt>
1072 <dd>
1073 tuple of (int, str, list or int, int)
990 </dd> 1074 </dd>
991 </dl> 1075 </dl>
992 <a NAME="CodeStyleFixer.__fixE122" ID="CodeStyleFixer.__fixE122"></a> 1076 <a NAME="CodeStyleFixer.__fixE122" ID="CodeStyleFixer.__fixE122"></a>
993 <h4>CodeStyleFixer.__fixE122</h4> 1077 <h4>CodeStyleFixer.__fixE122</h4>
994 <b>__fixE122</b>(<i>code, line, pos, apply=False</i>) 1078 <b>__fixE122</b>(<i>code, line, pos, apply=False</i>)
999 <p> 1083 <p>
1000 Codes: E122 1084 Codes: E122
1001 </p> 1085 </p>
1002 <dl> 1086 <dl>
1003 1087
1004 <dt><i>code</i></dt> 1088 <dt><i>code</i> (str)</dt>
1005 <dd> 1089 <dd>
1006 code of the issue (string) 1090 code of the issue
1007 </dd> 1091 </dd>
1008 <dt><i>line</i></dt> 1092 <dt><i>line</i> (int)</dt>
1009 <dd> 1093 <dd>
1010 line number of the issue (integer) 1094 line number of the issue
1011 </dd> 1095 </dd>
1012 <dt><i>pos</i></dt> 1096 <dt><i>pos</i> (int)</dt>
1013 <dd> 1097 <dd>
1014 position inside line (integer) 1098 position inside line
1015 </dd> 1099 </dd>
1016 <dt><i>apply=</i></dt> 1100 <dt><i>apply</i> (bool)</dt>
1017 <dd> 1101 <dd>
1018 flag indicating, that the fix should be applied 1102 flag indicating, that the fix should be applied
1019 (boolean) 1103 </dd>
1020 </dd> 1104 </dl>
1021 </dl> 1105 <dl>
1022 <dl> 1106 <dt>Returns:</dt>
1023 <dt>Returns:</dt> 1107 <dd>
1024 <dd> 1108 value indicating an applied/deferred fix (-1, 0, 1),
1025 value indicating an applied/deferred fix (-1, 0, 1), 1109 a message code for the fix, a list of arguments for the
1026 a message for the fix (string) and an ID for a deferred 1110 message and an ID for a deferred fix
1027 fix (integer) 1111 </dd>
1112 </dl>
1113 <dl>
1114 <dt>Return Type:</dt>
1115 <dd>
1116 tuple of (int, str, list or int, int)
1028 </dd> 1117 </dd>
1029 </dl> 1118 </dl>
1030 <a NAME="CodeStyleFixer.__fixE123" ID="CodeStyleFixer.__fixE123"></a> 1119 <a NAME="CodeStyleFixer.__fixE123" ID="CodeStyleFixer.__fixE123"></a>
1031 <h4>CodeStyleFixer.__fixE123</h4> 1120 <h4>CodeStyleFixer.__fixE123</h4>
1032 <b>__fixE123</b>(<i>code, line, pos, apply=False</i>) 1121 <b>__fixE123</b>(<i>code, line, pos, apply=False</i>)
1037 <p> 1126 <p>
1038 Codes: E123 1127 Codes: E123
1039 </p> 1128 </p>
1040 <dl> 1129 <dl>
1041 1130
1042 <dt><i>code</i></dt> 1131 <dt><i>code</i> (str)</dt>
1043 <dd> 1132 <dd>
1044 code of the issue (string) 1133 code of the issue
1045 </dd> 1134 </dd>
1046 <dt><i>line</i></dt> 1135 <dt><i>line</i> (int)</dt>
1047 <dd> 1136 <dd>
1048 line number of the issue (integer) 1137 line number of the issue
1049 </dd> 1138 </dd>
1050 <dt><i>pos</i></dt> 1139 <dt><i>pos</i> (int)</dt>
1051 <dd> 1140 <dd>
1052 position inside line (integer) 1141 position inside line
1053 </dd> 1142 </dd>
1054 <dt><i>apply=</i></dt> 1143 <dt><i>apply</i> (bool)</dt>
1055 <dd> 1144 <dd>
1056 flag indicating, that the fix should be applied 1145 flag indicating, that the fix should be applied
1057 (boolean) 1146 </dd>
1058 </dd> 1147 </dl>
1059 </dl> 1148 <dl>
1060 <dl> 1149 <dt>Returns:</dt>
1061 <dt>Returns:</dt> 1150 <dd>
1062 <dd> 1151 value indicating an applied/deferred fix (-1, 0, 1),
1063 value indicating an applied/deferred fix (-1, 0, 1), 1152 a message code for the fix, a list of arguments for the
1064 a message for the fix (string) and an ID for a deferred 1153 message and an ID for a deferred fix
1065 fix (integer) 1154 </dd>
1155 </dl>
1156 <dl>
1157 <dt>Return Type:</dt>
1158 <dd>
1159 tuple of (int, str, list or int, int)
1066 </dd> 1160 </dd>
1067 </dl> 1161 </dl>
1068 <a NAME="CodeStyleFixer.__fixE125" ID="CodeStyleFixer.__fixE125"></a> 1162 <a NAME="CodeStyleFixer.__fixE125" ID="CodeStyleFixer.__fixE125"></a>
1069 <h4>CodeStyleFixer.__fixE125</h4> 1163 <h4>CodeStyleFixer.__fixE125</h4>
1070 <b>__fixE125</b>(<i>code, line, pos, apply=False</i>) 1164 <b>__fixE125</b>(<i>code, line, pos, apply=False</i>)
1076 <p> 1170 <p>
1077 Codes: E125 1171 Codes: E125
1078 </p> 1172 </p>
1079 <dl> 1173 <dl>
1080 1174
1081 <dt><i>code</i></dt> 1175 <dt><i>code</i> (str)</dt>
1082 <dd> 1176 <dd>
1083 code of the issue (string) 1177 code of the issue
1084 </dd> 1178 </dd>
1085 <dt><i>line</i></dt> 1179 <dt><i>line</i> (int)</dt>
1086 <dd> 1180 <dd>
1087 line number of the issue (integer) 1181 line number of the issue
1088 </dd> 1182 </dd>
1089 <dt><i>pos</i></dt> 1183 <dt><i>pos</i> (int)</dt>
1090 <dd> 1184 <dd>
1091 position inside line (integer) 1185 position inside line
1092 </dd> 1186 </dd>
1093 <dt><i>apply=</i></dt> 1187 <dt><i>apply</i> (bool)</dt>
1094 <dd> 1188 <dd>
1095 flag indicating, that the fix should be applied 1189 flag indicating, that the fix should be applied
1096 (boolean) 1190 </dd>
1097 </dd> 1191 </dl>
1098 </dl> 1192 <dl>
1099 <dl> 1193 <dt>Returns:</dt>
1100 <dt>Returns:</dt> 1194 <dd>
1101 <dd> 1195 value indicating an applied/deferred fix (-1, 0, 1),
1102 value indicating an applied/deferred fix (-1, 0, 1), 1196 a message code for the fix, a list of arguments for the
1103 a message for the fix (string) and an ID for a deferred 1197 message and an ID for a deferred fix
1104 fix (integer) 1198 </dd>
1199 </dl>
1200 <dl>
1201 <dt>Return Type:</dt>
1202 <dd>
1203 tuple of (int, str, list or int, int)
1105 </dd> 1204 </dd>
1106 </dl> 1205 </dl>
1107 <a NAME="CodeStyleFixer.__fixE126" ID="CodeStyleFixer.__fixE126"></a> 1206 <a NAME="CodeStyleFixer.__fixE126" ID="CodeStyleFixer.__fixE126"></a>
1108 <h4>CodeStyleFixer.__fixE126</h4> 1207 <h4>CodeStyleFixer.__fixE126</h4>
1109 <b>__fixE126</b>(<i>code, line, pos, apply=False</i>) 1208 <b>__fixE126</b>(<i>code, line, pos, apply=False</i>)
1115 <p> 1214 <p>
1116 Codes: E126, E133 1215 Codes: E126, E133
1117 </p> 1216 </p>
1118 <dl> 1217 <dl>
1119 1218
1120 <dt><i>code</i></dt> 1219 <dt><i>code</i> (str)</dt>
1121 <dd> 1220 <dd>
1122 code of the issue (string) 1221 code of the issue
1123 </dd> 1222 </dd>
1124 <dt><i>line</i></dt> 1223 <dt><i>line</i> (int)</dt>
1125 <dd> 1224 <dd>
1126 line number of the issue (integer) 1225 line number of the issue
1127 </dd> 1226 </dd>
1128 <dt><i>pos</i></dt> 1227 <dt><i>pos</i> (int)</dt>
1129 <dd> 1228 <dd>
1130 position inside line (integer) 1229 position inside line
1131 </dd> 1230 </dd>
1132 <dt><i>apply=</i></dt> 1231 <dt><i>apply</i> (bool)</dt>
1133 <dd> 1232 <dd>
1134 flag indicating, that the fix should be applied 1233 flag indicating, that the fix should be applied
1135 (boolean) 1234 </dd>
1136 </dd> 1235 </dl>
1137 </dl> 1236 <dl>
1138 <dl> 1237 <dt>Returns:</dt>
1139 <dt>Returns:</dt> 1238 <dd>
1140 <dd> 1239 value indicating an applied/deferred fix (-1, 0, 1),
1141 value indicating an applied/deferred fix (-1, 0, 1), 1240 a message code for the fix, a list of arguments for the
1142 a message for the fix (string) and an ID for a deferred 1241 message and an ID for a deferred fix
1143 fix (integer) 1242 </dd>
1243 </dl>
1244 <dl>
1245 <dt>Return Type:</dt>
1246 <dd>
1247 tuple of (int, str, list or int, int)
1144 </dd> 1248 </dd>
1145 </dl> 1249 </dl>
1146 <a NAME="CodeStyleFixer.__fixE127" ID="CodeStyleFixer.__fixE127"></a> 1250 <a NAME="CodeStyleFixer.__fixE127" ID="CodeStyleFixer.__fixE127"></a>
1147 <h4>CodeStyleFixer.__fixE127</h4> 1251 <h4>CodeStyleFixer.__fixE127</h4>
1148 <b>__fixE127</b>(<i>code, line, pos, apply=False</i>) 1252 <b>__fixE127</b>(<i>code, line, pos, apply=False</i>)
1153 <p> 1257 <p>
1154 Codes: E127, E128 1258 Codes: E127, E128
1155 </p> 1259 </p>
1156 <dl> 1260 <dl>
1157 1261
1158 <dt><i>code</i></dt> 1262 <dt><i>code</i> (str)</dt>
1159 <dd> 1263 <dd>
1160 code of the issue (string) 1264 code of the issue
1161 </dd> 1265 </dd>
1162 <dt><i>line</i></dt> 1266 <dt><i>line</i> (int)</dt>
1163 <dd> 1267 <dd>
1164 line number of the issue (integer) 1268 line number of the issue
1165 </dd> 1269 </dd>
1166 <dt><i>pos</i></dt> 1270 <dt><i>pos</i> (int)</dt>
1167 <dd> 1271 <dd>
1168 position inside line (integer) 1272 position inside line
1169 </dd> 1273 </dd>
1170 <dt><i>apply=</i></dt> 1274 <dt><i>apply</i> (bool)</dt>
1171 <dd> 1275 <dd>
1172 flag indicating, that the fix should be applied 1276 flag indicating, that the fix should be applied
1173 (boolean) 1277 </dd>
1174 </dd> 1278 </dl>
1175 </dl> 1279 <dl>
1176 <dl> 1280 <dt>Returns:</dt>
1177 <dt>Returns:</dt> 1281 <dd>
1178 <dd> 1282 value indicating an applied/deferred fix (-1, 0, 1),
1179 value indicating an applied/deferred fix (-1, 0, 1), 1283 a message code for the fix, a list of arguments for the
1180 a message for the fix (string) and an ID for a deferred 1284 message and an ID for a deferred fix
1181 fix (integer) 1285 </dd>
1286 </dl>
1287 <dl>
1288 <dt>Return Type:</dt>
1289 <dd>
1290 tuple of (int, str, list or int, int)
1182 </dd> 1291 </dd>
1183 </dl> 1292 </dl>
1184 <a NAME="CodeStyleFixer.__fixE201" ID="CodeStyleFixer.__fixE201"></a> 1293 <a NAME="CodeStyleFixer.__fixE201" ID="CodeStyleFixer.__fixE201"></a>
1185 <h4>CodeStyleFixer.__fixE201</h4> 1294 <h4>CodeStyleFixer.__fixE201</h4>
1186 <b>__fixE201</b>(<i>code, line, pos</i>) 1295 <b>__fixE201</b>(<i>code, line, pos</i>)
1191 <p> 1300 <p>
1192 Codes: E201, E202, E203, E211 1301 Codes: E201, E202, E203, E211
1193 </p> 1302 </p>
1194 <dl> 1303 <dl>
1195 1304
1196 <dt><i>code</i></dt> 1305 <dt><i>code</i> (str)</dt>
1197 <dd> 1306 <dd>
1198 code of the issue (string) 1307 code of the issue
1199 </dd> 1308 </dd>
1200 <dt><i>line</i></dt> 1309 <dt><i>line</i> (int)</dt>
1201 <dd> 1310 <dd>
1202 line number of the issue (integer) 1311 line number of the issue
1203 </dd> 1312 </dd>
1204 <dt><i>pos</i></dt> 1313 <dt><i>pos</i> (int)</dt>
1205 <dd> 1314 <dd>
1206 position inside line (integer) 1315 position inside line
1207 </dd> 1316 </dd>
1208 </dl> 1317 </dl>
1209 <dl> 1318 <dl>
1210 <dt>Returns:</dt> 1319 <dt>Returns:</dt>
1211 <dd> 1320 <dd>
1212 value indicating an applied/deferred fix (-1, 0, 1), 1321 value indicating an applied/deferred fix (-1, 0, 1),
1213 a message for the fix (string) and an ID for a deferred 1322 a message code for the fix, a list of arguments for the
1214 fix (integer) 1323 message and an ID for a deferred fix
1324 </dd>
1325 </dl>
1326 <dl>
1327 <dt>Return Type:</dt>
1328 <dd>
1329 tuple of (int, str, list or int, int)
1215 </dd> 1330 </dd>
1216 </dl> 1331 </dl>
1217 <a NAME="CodeStyleFixer.__fixE221" ID="CodeStyleFixer.__fixE221"></a> 1332 <a NAME="CodeStyleFixer.__fixE221" ID="CodeStyleFixer.__fixE221"></a>
1218 <h4>CodeStyleFixer.__fixE221</h4> 1333 <h4>CodeStyleFixer.__fixE221</h4>
1219 <b>__fixE221</b>(<i>code, line, pos</i>) 1334 <b>__fixE221</b>(<i>code, line, pos</i>)
1225 <p> 1340 <p>
1226 Codes: E221, E222, E223, E224, E241, E242, E271, E272, E273, E274 1341 Codes: E221, E222, E223, E224, E241, E242, E271, E272, E273, E274
1227 </p> 1342 </p>
1228 <dl> 1343 <dl>
1229 1344
1230 <dt><i>code</i></dt> 1345 <dt><i>code</i> (str)</dt>
1231 <dd> 1346 <dd>
1232 code of the issue (string) 1347 code of the issue
1233 </dd> 1348 </dd>
1234 <dt><i>line</i></dt> 1349 <dt><i>line</i> (int)</dt>
1235 <dd> 1350 <dd>
1236 line number of the issue (integer) 1351 line number of the issue
1237 </dd> 1352 </dd>
1238 <dt><i>pos</i></dt> 1353 <dt><i>pos</i> (int)</dt>
1239 <dd> 1354 <dd>
1240 position inside line (integer) 1355 position inside line
1241 </dd> 1356 </dd>
1242 </dl> 1357 </dl>
1243 <dl> 1358 <dl>
1244 <dt>Returns:</dt> 1359 <dt>Returns:</dt>
1245 <dd> 1360 <dd>
1246 value indicating an applied/deferred fix (-1, 0, 1), 1361 value indicating an applied/deferred fix (-1, 0, 1),
1247 a message for the fix (string) and an ID for a deferred 1362 a message code for the fix, a list of arguments for the
1248 fix (integer) 1363 message and an ID for a deferred fix
1364 </dd>
1365 </dl>
1366 <dl>
1367 <dt>Return Type:</dt>
1368 <dd>
1369 tuple of (int, str, list or int, int)
1249 </dd> 1370 </dd>
1250 </dl> 1371 </dl>
1251 <a NAME="CodeStyleFixer.__fixE225" ID="CodeStyleFixer.__fixE225"></a> 1372 <a NAME="CodeStyleFixer.__fixE225" ID="CodeStyleFixer.__fixE225"></a>
1252 <h4>CodeStyleFixer.__fixE225</h4> 1373 <h4>CodeStyleFixer.__fixE225</h4>
1253 <b>__fixE225</b>(<i>code, line, pos</i>) 1374 <b>__fixE225</b>(<i>code, line, pos</i>)
1258 <p> 1379 <p>
1259 Codes: E225, E226, E227, E228 1380 Codes: E225, E226, E227, E228
1260 </p> 1381 </p>
1261 <dl> 1382 <dl>
1262 1383
1263 <dt><i>code</i></dt> 1384 <dt><i>code</i> (str)</dt>
1264 <dd> 1385 <dd>
1265 code of the issue (string) 1386 code of the issue
1266 </dd> 1387 </dd>
1267 <dt><i>line</i></dt> 1388 <dt><i>line</i> (int)</dt>
1268 <dd> 1389 <dd>
1269 line number of the issue (integer) 1390 line number of the issue
1270 </dd> 1391 </dd>
1271 <dt><i>pos</i></dt> 1392 <dt><i>pos</i> (int)</dt>
1272 <dd> 1393 <dd>
1273 position inside line (integer) 1394 position inside line
1274 </dd> 1395 </dd>
1275 </dl> 1396 </dl>
1276 <dl> 1397 <dl>
1277 <dt>Returns:</dt> 1398 <dt>Returns:</dt>
1278 <dd> 1399 <dd>
1279 value indicating an applied/deferred fix (-1, 0, 1), 1400 value indicating an applied/deferred fix (-1, 0, 1),
1280 a message for the fix (string) and an ID for a deferred 1401 a message code for the fix, a list of arguments for the
1281 fix (integer) 1402 message and an ID for a deferred fix
1403 </dd>
1404 </dl>
1405 <dl>
1406 <dt>Return Type:</dt>
1407 <dd>
1408 tuple of (int, str, list or int, int)
1282 </dd> 1409 </dd>
1283 </dl> 1410 </dl>
1284 <a NAME="CodeStyleFixer.__fixE231" ID="CodeStyleFixer.__fixE231"></a> 1411 <a NAME="CodeStyleFixer.__fixE231" ID="CodeStyleFixer.__fixE231"></a>
1285 <h4>CodeStyleFixer.__fixE231</h4> 1412 <h4>CodeStyleFixer.__fixE231</h4>
1286 <b>__fixE231</b>(<i>code, line, pos</i>) 1413 <b>__fixE231</b>(<i>code, line, pos</i>)
1291 <p> 1418 <p>
1292 Codes: E231 1419 Codes: E231
1293 </p> 1420 </p>
1294 <dl> 1421 <dl>
1295 1422
1296 <dt><i>code</i></dt> 1423 <dt><i>code</i> (str)</dt>
1297 <dd> 1424 <dd>
1298 code of the issue (string) 1425 code of the issue
1299 </dd> 1426 </dd>
1300 <dt><i>line</i></dt> 1427 <dt><i>line</i> (int)</dt>
1301 <dd> 1428 <dd>
1302 line number of the issue (integer) 1429 line number of the issue
1303 </dd> 1430 </dd>
1304 <dt><i>pos</i></dt> 1431 <dt><i>pos</i> (int)</dt>
1305 <dd> 1432 <dd>
1306 position inside line (integer) 1433 position inside line
1307 </dd> 1434 </dd>
1308 </dl> 1435 </dl>
1309 <dl> 1436 <dl>
1310 <dt>Returns:</dt> 1437 <dt>Returns:</dt>
1311 <dd> 1438 <dd>
1312 value indicating an applied/deferred fix (-1, 0, 1), 1439 value indicating an applied/deferred fix (-1, 0, 1),
1313 a message for the fix (string) and an ID for a deferred 1440 a message code for the fix, a list of arguments for the
1314 fix (integer) 1441 message and an ID for a deferred fix
1442 </dd>
1443 </dl>
1444 <dl>
1445 <dt>Return Type:</dt>
1446 <dd>
1447 tuple of (int, str, list or int, int)
1315 </dd> 1448 </dd>
1316 </dl> 1449 </dl>
1317 <a NAME="CodeStyleFixer.__fixE251" ID="CodeStyleFixer.__fixE251"></a> 1450 <a NAME="CodeStyleFixer.__fixE251" ID="CodeStyleFixer.__fixE251"></a>
1318 <h4>CodeStyleFixer.__fixE251</h4> 1451 <h4>CodeStyleFixer.__fixE251</h4>
1319 <b>__fixE251</b>(<i>code, line, pos</i>) 1452 <b>__fixE251</b>(<i>code, line, pos</i>)
1325 <p> 1458 <p>
1326 Codes: E251 1459 Codes: E251
1327 </p> 1460 </p>
1328 <dl> 1461 <dl>
1329 1462
1330 <dt><i>code</i></dt> 1463 <dt><i>code</i> (str)</dt>
1331 <dd> 1464 <dd>
1332 code of the issue (string) 1465 code of the issue
1333 </dd> 1466 </dd>
1334 <dt><i>line</i></dt> 1467 <dt><i>line</i> (int)</dt>
1335 <dd> 1468 <dd>
1336 line number of the issue (integer) 1469 line number of the issue
1337 </dd> 1470 </dd>
1338 <dt><i>pos</i></dt> 1471 <dt><i>pos</i> (int)</dt>
1339 <dd> 1472 <dd>
1340 position inside line (integer) 1473 position inside line
1341 </dd> 1474 </dd>
1342 </dl> 1475 </dl>
1343 <dl> 1476 <dl>
1344 <dt>Returns:</dt> 1477 <dt>Returns:</dt>
1345 <dd> 1478 <dd>
1346 value indicating an applied/deferred fix (-1, 0, 1), 1479 value indicating an applied/deferred fix (-1, 0, 1),
1347 a message for the fix (string) and an ID for a deferred 1480 a message code for the fix, a list of arguments for the
1348 fix (integer) 1481 message and an ID for a deferred fix
1482 </dd>
1483 </dl>
1484 <dl>
1485 <dt>Return Type:</dt>
1486 <dd>
1487 tuple of (int, str, list or int, int)
1349 </dd> 1488 </dd>
1350 </dl> 1489 </dl>
1351 <a NAME="CodeStyleFixer.__fixE261" ID="CodeStyleFixer.__fixE261"></a> 1490 <a NAME="CodeStyleFixer.__fixE261" ID="CodeStyleFixer.__fixE261"></a>
1352 <h4>CodeStyleFixer.__fixE261</h4> 1491 <h4>CodeStyleFixer.__fixE261</h4>
1353 <b>__fixE261</b>(<i>code, line, pos</i>) 1492 <b>__fixE261</b>(<i>code, line, pos</i>)
1358 <p> 1497 <p>
1359 Codes: E261, E262 1498 Codes: E261, E262
1360 </p> 1499 </p>
1361 <dl> 1500 <dl>
1362 1501
1363 <dt><i>code</i></dt> 1502 <dt><i>code</i> (str)</dt>
1364 <dd> 1503 <dd>
1365 code of the issue (string) 1504 code of the issue
1366 </dd> 1505 </dd>
1367 <dt><i>line</i></dt> 1506 <dt><i>line</i> (int)</dt>
1368 <dd> 1507 <dd>
1369 line number of the issue (integer) 1508 line number of the issue
1370 </dd> 1509 </dd>
1371 <dt><i>pos</i></dt> 1510 <dt><i>pos</i> (int)</dt>
1372 <dd> 1511 <dd>
1373 position inside line (integer) 1512 position inside line
1374 </dd> 1513 </dd>
1375 </dl> 1514 </dl>
1376 <dl> 1515 <dl>
1377 <dt>Returns:</dt> 1516 <dt>Returns:</dt>
1378 <dd> 1517 <dd>
1379 value indicating an applied/deferred fix (-1, 0, 1), 1518 value indicating an applied/deferred fix (-1, 0, 1),
1380 a message for the fix (string) and an ID for a deferred 1519 a message code for the fix, a list of arguments for the
1381 fix (integer) 1520 message and an ID for a deferred fix
1521 </dd>
1522 </dl>
1523 <dl>
1524 <dt>Return Type:</dt>
1525 <dd>
1526 tuple of (int, str, list or int, int)
1382 </dd> 1527 </dd>
1383 </dl> 1528 </dl>
1384 <a NAME="CodeStyleFixer.__fixE304" ID="CodeStyleFixer.__fixE304"></a> 1529 <a NAME="CodeStyleFixer.__fixE304" ID="CodeStyleFixer.__fixE304"></a>
1385 <h4>CodeStyleFixer.__fixE304</h4> 1530 <h4>CodeStyleFixer.__fixE304</h4>
1386 <b>__fixE304</b>(<i>code, line, pos, apply=False</i>) 1531 <b>__fixE304</b>(<i>code, line, pos, apply=False</i>)
1392 <p> 1537 <p>
1393 Codes: E304 1538 Codes: E304
1394 </p> 1539 </p>
1395 <dl> 1540 <dl>
1396 1541
1397 <dt><i>code</i></dt> 1542 <dt><i>code</i> (str)</dt>
1398 <dd> 1543 <dd>
1399 code of the issue (string) 1544 code of the issue
1400 </dd> 1545 </dd>
1401 <dt><i>line</i></dt> 1546 <dt><i>line</i> (int)</dt>
1402 <dd> 1547 <dd>
1403 line number of the issue (integer) 1548 line number of the issue
1404 </dd> 1549 </dd>
1405 <dt><i>pos</i></dt> 1550 <dt><i>pos</i> (int)</dt>
1406 <dd> 1551 <dd>
1407 position inside line (integer) 1552 position inside line
1408 </dd> 1553 </dd>
1409 <dt><i>apply=</i></dt> 1554 <dt><i>apply</i> (bool)</dt>
1410 <dd> 1555 <dd>
1411 flag indicating, that the fix should be applied 1556 flag indicating, that the fix should be applied
1412 (boolean) 1557 </dd>
1413 </dd> 1558 </dl>
1414 </dl> 1559 <dl>
1415 <dl> 1560 <dt>Returns:</dt>
1416 <dt>Returns:</dt> 1561 <dd>
1417 <dd> 1562 value indicating an applied/deferred fix (-1, 0, 1),
1418 value indicating an applied/deferred fix (-1, 0, 1), 1563 a message code for the fix, a list of arguments for the
1419 a message for the fix (string) and an ID for a deferred 1564 message and an ID for a deferred fix
1420 fix (integer) 1565 </dd>
1566 </dl>
1567 <dl>
1568 <dt>Return Type:</dt>
1569 <dd>
1570 tuple of (int, str, list or int, int)
1421 </dd> 1571 </dd>
1422 </dl> 1572 </dl>
1423 <a NAME="CodeStyleFixer.__fixE401" ID="CodeStyleFixer.__fixE401"></a> 1573 <a NAME="CodeStyleFixer.__fixE401" ID="CodeStyleFixer.__fixE401"></a>
1424 <h4>CodeStyleFixer.__fixE401</h4> 1574 <h4>CodeStyleFixer.__fixE401</h4>
1425 <b>__fixE401</b>(<i>code, line, pos, apply=False</i>) 1575 <b>__fixE401</b>(<i>code, line, pos, apply=False</i>)
1430 <p> 1580 <p>
1431 Codes: E401 1581 Codes: E401
1432 </p> 1582 </p>
1433 <dl> 1583 <dl>
1434 1584
1435 <dt><i>code</i></dt> 1585 <dt><i>code</i> (str)</dt>
1436 <dd> 1586 <dd>
1437 code of the issue (string) 1587 code of the issue
1438 </dd> 1588 </dd>
1439 <dt><i>line</i></dt> 1589 <dt><i>line</i> (int)</dt>
1440 <dd> 1590 <dd>
1441 line number of the issue (integer) 1591 line number of the issue
1442 </dd> 1592 </dd>
1443 <dt><i>pos</i></dt> 1593 <dt><i>pos</i> (int)</dt>
1444 <dd> 1594 <dd>
1445 position inside line (integer) 1595 position inside line
1446 </dd> 1596 </dd>
1447 <dt><i>apply=</i></dt> 1597 <dt><i>apply</i> (bool)</dt>
1448 <dd> 1598 <dd>
1449 flag indicating, that the fix should be applied 1599 flag indicating, that the fix should be applied
1450 (boolean) 1600 </dd>
1451 </dd> 1601 </dl>
1452 </dl> 1602 <dl>
1453 <dl> 1603 <dt>Returns:</dt>
1454 <dt>Returns:</dt> 1604 <dd>
1455 <dd> 1605 value indicating an applied/deferred fix (-1, 0, 1),
1456 value indicating an applied/deferred fix (-1, 0, 1), 1606 a message code for the fix, a list of arguments for the
1457 a message for the fix (string) and an ID for a deferred 1607 message and an ID for a deferred fix
1458 fix (integer) 1608 </dd>
1609 </dl>
1610 <dl>
1611 <dt>Return Type:</dt>
1612 <dd>
1613 tuple of (int, str, list or int, int)
1459 </dd> 1614 </dd>
1460 </dl> 1615 </dl>
1461 <a NAME="CodeStyleFixer.__fixE501" ID="CodeStyleFixer.__fixE501"></a> 1616 <a NAME="CodeStyleFixer.__fixE501" ID="CodeStyleFixer.__fixE501"></a>
1462 <h4>CodeStyleFixer.__fixE501</h4> 1617 <h4>CodeStyleFixer.__fixE501</h4>
1463 <b>__fixE501</b>(<i>code, line, pos, apply=False</i>) 1618 <b>__fixE501</b>(<i>code, line, pos, apply=False</i>)
1468 <p> 1623 <p>
1469 Codes: E501 1624 Codes: E501
1470 </p> 1625 </p>
1471 <dl> 1626 <dl>
1472 1627
1473 <dt><i>code</i></dt> 1628 <dt><i>code</i> (str)</dt>
1474 <dd> 1629 <dd>
1475 code of the issue (string) 1630 code of the issue
1476 </dd> 1631 </dd>
1477 <dt><i>line</i></dt> 1632 <dt><i>line</i> (int)</dt>
1478 <dd> 1633 <dd>
1479 line number of the issue (integer) 1634 line number of the issue
1480 </dd> 1635 </dd>
1481 <dt><i>pos</i></dt> 1636 <dt><i>pos</i> (int)</dt>
1482 <dd> 1637 <dd>
1483 position inside line (integer) 1638 position inside line
1484 </dd> 1639 </dd>
1485 <dt><i>apply=</i></dt> 1640 <dt><i>apply</i> (bool)</dt>
1486 <dd> 1641 <dd>
1487 flag indicating, that the fix should be applied 1642 flag indicating, that the fix should be applied
1488 (boolean) 1643 </dd>
1489 </dd> 1644 </dl>
1490 </dl> 1645 <dl>
1491 <dl> 1646 <dt>Returns:</dt>
1492 <dt>Returns:</dt> 1647 <dd>
1493 <dd> 1648 value indicating an applied/deferred fix (-1, 0, 1),
1494 value indicating an applied/deferred fix (-1, 0, 1), 1649 a message code for the fix, a list of arguments for the
1495 a message for the fix (string) and an ID for a deferred 1650 message and an ID for a deferred fix
1496 fix (integer) 1651 </dd>
1652 </dl>
1653 <dl>
1654 <dt>Return Type:</dt>
1655 <dd>
1656 tuple of (int, str, list or int, int)
1497 </dd> 1657 </dd>
1498 </dl> 1658 </dl>
1499 <a NAME="CodeStyleFixer.__fixE502" ID="CodeStyleFixer.__fixE502"></a> 1659 <a NAME="CodeStyleFixer.__fixE502" ID="CodeStyleFixer.__fixE502"></a>
1500 <h4>CodeStyleFixer.__fixE502</h4> 1660 <h4>CodeStyleFixer.__fixE502</h4>
1501 <b>__fixE502</b>(<i>code, line, pos</i>) 1661 <b>__fixE502</b>(<i>code, line, pos</i>)
1506 <p> 1666 <p>
1507 Codes: E502 1667 Codes: E502
1508 </p> 1668 </p>
1509 <dl> 1669 <dl>
1510 1670
1511 <dt><i>code</i></dt> 1671 <dt><i>code</i> (str)</dt>
1512 <dd> 1672 <dd>
1513 code of the issue (string) 1673 code of the issue
1514 </dd> 1674 </dd>
1515 <dt><i>line</i></dt> 1675 <dt><i>line</i> (int)</dt>
1516 <dd> 1676 <dd>
1517 line number of the issue (integer) 1677 line number of the issue
1518 </dd> 1678 </dd>
1519 <dt><i>pos</i></dt> 1679 <dt><i>pos</i> (int)</dt>
1520 <dd> 1680 <dd>
1521 position inside line (integer) 1681 position inside line
1522 </dd> 1682 </dd>
1523 </dl> 1683 </dl>
1524 <dl> 1684 <dl>
1525 <dt>Returns:</dt> 1685 <dt>Returns:</dt>
1526 <dd> 1686 <dd>
1527 value indicating an applied/deferred fix (-1, 0, 1), 1687 value indicating an applied/deferred fix (-1, 0, 1),
1528 a message for the fix (string) and an ID for a deferred 1688 a message code for the fix, a list of arguments for the
1529 fix (integer) 1689 message and an ID for a deferred fix
1690 </dd>
1691 </dl>
1692 <dl>
1693 <dt>Return Type:</dt>
1694 <dd>
1695 tuple of (int, str, list or int, int)
1530 </dd> 1696 </dd>
1531 </dl> 1697 </dl>
1532 <a NAME="CodeStyleFixer.__fixE701" ID="CodeStyleFixer.__fixE701"></a> 1698 <a NAME="CodeStyleFixer.__fixE701" ID="CodeStyleFixer.__fixE701"></a>
1533 <h4>CodeStyleFixer.__fixE701</h4> 1699 <h4>CodeStyleFixer.__fixE701</h4>
1534 <b>__fixE701</b>(<i>code, line, pos, apply=False</i>) 1700 <b>__fixE701</b>(<i>code, line, pos, apply=False</i>)
1539 <p> 1705 <p>
1540 Codes: E701 1706 Codes: E701
1541 </p> 1707 </p>
1542 <dl> 1708 <dl>
1543 1709
1544 <dt><i>code</i></dt> 1710 <dt><i>code</i> (str)</dt>
1545 <dd> 1711 <dd>
1546 code of the issue (string) 1712 code of the issue
1547 </dd> 1713 </dd>
1548 <dt><i>line</i></dt> 1714 <dt><i>line</i> (int)</dt>
1549 <dd> 1715 <dd>
1550 line number of the issue (integer) 1716 line number of the issue
1551 </dd> 1717 </dd>
1552 <dt><i>pos</i></dt> 1718 <dt><i>pos</i> (int)</dt>
1553 <dd> 1719 <dd>
1554 position inside line (integer) 1720 position inside line
1555 </dd> 1721 </dd>
1556 <dt><i>apply=</i></dt> 1722 <dt><i>apply</i> (bool)</dt>
1557 <dd> 1723 <dd>
1558 flag indicating, that the fix should be applied 1724 flag indicating, that the fix should be applied
1559 (boolean) 1725 </dd>
1560 </dd> 1726 </dl>
1561 </dl> 1727 <dl>
1562 <dl> 1728 <dt>Returns:</dt>
1563 <dt>Returns:</dt> 1729 <dd>
1564 <dd> 1730 value indicating an applied/deferred fix (-1, 0, 1),
1565 value indicating an applied/deferred fix (-1, 0, 1), 1731 a message code for the fix, a list of arguments for the
1566 a message for the fix (string) and an ID for a deferred 1732 message and an ID for a deferred fix
1567 fix (integer) 1733 </dd>
1734 </dl>
1735 <dl>
1736 <dt>Return Type:</dt>
1737 <dd>
1738 tuple of (int, str, list or int, int)
1568 </dd> 1739 </dd>
1569 </dl> 1740 </dl>
1570 <a NAME="CodeStyleFixer.__fixE702" ID="CodeStyleFixer.__fixE702"></a> 1741 <a NAME="CodeStyleFixer.__fixE702" ID="CodeStyleFixer.__fixE702"></a>
1571 <h4>CodeStyleFixer.__fixE702</h4> 1742 <h4>CodeStyleFixer.__fixE702</h4>
1572 <b>__fixE702</b>(<i>code, line, pos, apply=False</i>) 1743 <b>__fixE702</b>(<i>code, line, pos, apply=False</i>)
1577 <p> 1748 <p>
1578 Codes: E702, E703 1749 Codes: E702, E703
1579 </p> 1750 </p>
1580 <dl> 1751 <dl>
1581 1752
1582 <dt><i>code</i></dt> 1753 <dt><i>code</i> (str)</dt>
1583 <dd> 1754 <dd>
1584 code of the issue (string) 1755 code of the issue
1585 </dd> 1756 </dd>
1586 <dt><i>line</i></dt> 1757 <dt><i>line</i> (int)</dt>
1587 <dd> 1758 <dd>
1588 line number of the issue (integer) 1759 line number of the issue
1589 </dd> 1760 </dd>
1590 <dt><i>pos</i></dt> 1761 <dt><i>pos</i> (int)</dt>
1591 <dd> 1762 <dd>
1592 position inside line (integer) 1763 position inside line
1593 </dd> 1764 </dd>
1594 <dt><i>apply=</i></dt> 1765 <dt><i>apply</i> (bool)</dt>
1595 <dd> 1766 <dd>
1596 flag indicating, that the fix should be applied 1767 flag indicating, that the fix should be applied
1597 (boolean) 1768 </dd>
1598 </dd> 1769 </dl>
1599 </dl> 1770 <dl>
1600 <dl> 1771 <dt>Returns:</dt>
1601 <dt>Returns:</dt> 1772 <dd>
1602 <dd> 1773 value indicating an applied/deferred fix (-1, 0, 1),
1603 value indicating an applied/deferred fix (-1, 0, 1), 1774 a message code for the fix, a list of arguments for the
1604 a message for the fix (string) and an ID for a deferred 1775 message and an ID for a deferred fix
1605 fix (integer) 1776 </dd>
1777 </dl>
1778 <dl>
1779 <dt>Return Type:</dt>
1780 <dd>
1781 tuple of (int, str, list or int, int)
1606 </dd> 1782 </dd>
1607 </dl> 1783 </dl>
1608 <a NAME="CodeStyleFixer.__fixE711" ID="CodeStyleFixer.__fixE711"></a> 1784 <a NAME="CodeStyleFixer.__fixE711" ID="CodeStyleFixer.__fixE711"></a>
1609 <h4>CodeStyleFixer.__fixE711</h4> 1785 <h4>CodeStyleFixer.__fixE711</h4>
1610 <b>__fixE711</b>(<i>code, line, pos</i>) 1786 <b>__fixE711</b>(<i>code, line, pos</i>)
1615 <p> 1791 <p>
1616 Codes: E711, E712 1792 Codes: E711, E712
1617 </p> 1793 </p>
1618 <dl> 1794 <dl>
1619 1795
1620 <dt><i>code</i></dt> 1796 <dt><i>code</i> (str)</dt>
1621 <dd> 1797 <dd>
1622 code of the issue (string) 1798 code of the issue
1623 </dd> 1799 </dd>
1624 <dt><i>line</i></dt> 1800 <dt><i>line</i> (int)</dt>
1625 <dd> 1801 <dd>
1626 line number of the issue (integer) 1802 line number of the issue
1627 </dd> 1803 </dd>
1628 <dt><i>pos</i></dt> 1804 <dt><i>pos</i> (int)</dt>
1629 <dd> 1805 <dd>
1630 position inside line (integer) 1806 position inside line
1631 </dd> 1807 </dd>
1632 </dl> 1808 </dl>
1633 <dl> 1809 <dl>
1634 <dt>Returns:</dt> 1810 <dt>Returns:</dt>
1635 <dd> 1811 <dd>
1636 value indicating an applied/deferred fix (-1, 0, 1), 1812 value indicating an applied/deferred fix (-1, 0, 1),
1637 a message for the fix (string) and an ID for a deferred 1813 a message code for the fix, a list of arguments for the
1638 fix (integer) 1814 message and an ID for a deferred fix
1815 </dd>
1816 </dl>
1817 <dl>
1818 <dt>Return Type:</dt>
1819 <dd>
1820 tuple of (int, str, list or int, int)
1639 </dd> 1821 </dd>
1640 </dl> 1822 </dl>
1641 <a NAME="CodeStyleFixer.__fixN804" ID="CodeStyleFixer.__fixN804"></a> 1823 <a NAME="CodeStyleFixer.__fixN804" ID="CodeStyleFixer.__fixN804"></a>
1642 <h4>CodeStyleFixer.__fixN804</h4> 1824 <h4>CodeStyleFixer.__fixN804</h4>
1643 <b>__fixN804</b>(<i>code, line, pos, apply=False</i>) 1825 <b>__fixN804</b>(<i>code, line, pos, apply=False</i>)
1649 <p> 1831 <p>
1650 Codes: N804, N805 1832 Codes: N804, N805
1651 </p> 1833 </p>
1652 <dl> 1834 <dl>
1653 1835
1654 <dt><i>code</i></dt> 1836 <dt><i>code</i> (str)</dt>
1655 <dd> 1837 <dd>
1656 code of the issue (string) 1838 code of the issue
1657 </dd> 1839 </dd>
1658 <dt><i>line</i></dt> 1840 <dt><i>line</i> (int)</dt>
1659 <dd> 1841 <dd>
1660 line number of the issue (integer) 1842 line number of the issue
1661 </dd> 1843 </dd>
1662 <dt><i>pos</i></dt> 1844 <dt><i>pos</i> (int)</dt>
1663 <dd> 1845 <dd>
1664 position inside line (integer) 1846 position inside line
1665 </dd> 1847 </dd>
1666 <dt><i>apply=</i></dt> 1848 <dt><i>apply</i> (bool)</dt>
1667 <dd> 1849 <dd>
1668 flag indicating, that the fix should be applied 1850 flag indicating, that the fix should be applied
1669 (boolean) 1851 </dd>
1670 </dd> 1852 </dl>
1671 </dl> 1853 <dl>
1672 <dl> 1854 <dt>Returns:</dt>
1673 <dt>Returns:</dt> 1855 <dd>
1674 <dd> 1856 value indicating an applied/deferred fix (-1, 0, 1),
1675 value indicating an applied/deferred fix (-1, 0, 1), 1857 a message code for the fix, a list of arguments for the
1676 a message for the fix (string) and an ID for a deferred 1858 message and an ID for a deferred fix
1677 fix (integer) 1859 </dd>
1860 </dl>
1861 <dl>
1862 <dt>Return Type:</dt>
1863 <dd>
1864 tuple of (int, str, list or int, int)
1678 </dd> 1865 </dd>
1679 </dl> 1866 </dl>
1680 <a NAME="CodeStyleFixer.__fixN806" ID="CodeStyleFixer.__fixN806"></a> 1867 <a NAME="CodeStyleFixer.__fixN806" ID="CodeStyleFixer.__fixN806"></a>
1681 <h4>CodeStyleFixer.__fixN806</h4> 1868 <h4>CodeStyleFixer.__fixN806</h4>
1682 <b>__fixN806</b>(<i>code, line, pos, apply=False</i>) 1869 <b>__fixN806</b>(<i>code, line, pos, apply=False</i>)
1687 <p> 1874 <p>
1688 Codes: N806 1875 Codes: N806
1689 </p> 1876 </p>
1690 <dl> 1877 <dl>
1691 1878
1692 <dt><i>code</i></dt> 1879 <dt><i>code</i> (str)</dt>
1693 <dd> 1880 <dd>
1694 code of the issue (string) 1881 code of the issue
1695 </dd> 1882 </dd>
1696 <dt><i>line</i></dt> 1883 <dt><i>line</i> (int)</dt>
1697 <dd> 1884 <dd>
1698 line number of the issue (integer) 1885 line number of the issue
1699 </dd> 1886 </dd>
1700 <dt><i>pos</i></dt> 1887 <dt><i>pos</i> (int)</dt>
1701 <dd> 1888 <dd>
1702 position inside line (integer) 1889 position inside line
1703 </dd> 1890 </dd>
1704 <dt><i>apply=</i></dt> 1891 <dt><i>apply</i> (bool)</dt>
1705 <dd> 1892 <dd>
1706 flag indicating, that the fix should be applied 1893 flag indicating, that the fix should be applied
1707 (boolean) 1894 </dd>
1708 </dd> 1895 </dl>
1709 </dl> 1896 <dl>
1710 <dl> 1897 <dt>Returns:</dt>
1711 <dt>Returns:</dt> 1898 <dd>
1712 <dd> 1899 value indicating an applied/deferred fix (-1, 0, 1),
1713 value indicating an applied/deferred fix (-1, 0, 1), 1900 a message code for the fix, a list of arguments for the
1714 a message for the fix (string) and an ID for a deferred 1901 message and an ID for a deferred fix
1715 fix (integer) 1902 </dd>
1903 </dl>
1904 <dl>
1905 <dt>Return Type:</dt>
1906 <dd>
1907 tuple of (int, str, list or int, int)
1716 </dd> 1908 </dd>
1717 </dl> 1909 </dl>
1718 <a NAME="CodeStyleFixer.__fixReindent" ID="CodeStyleFixer.__fixReindent"></a> 1910 <a NAME="CodeStyleFixer.__fixReindent" ID="CodeStyleFixer.__fixReindent"></a>
1719 <h4>CodeStyleFixer.__fixReindent</h4> 1911 <h4>CodeStyleFixer.__fixReindent</h4>
1720 <b>__fixReindent</b>(<i>line, pos, logical</i>) 1912 <b>__fixReindent</b>(<i>line, pos, logical</i>)
1756 <p> 1948 <p>
1757 Codes: W291, W293 1949 Codes: W291, W293
1758 </p> 1950 </p>
1759 <dl> 1951 <dl>
1760 1952
1761 <dt><i>code</i></dt> 1953 <dt><i>code</i> (str)</dt>
1762 <dd> 1954 <dd>
1763 code of the issue (string) 1955 code of the issue
1764 </dd> 1956 </dd>
1765 <dt><i>line</i></dt> 1957 <dt><i>line</i> (int)</dt>
1766 <dd> 1958 <dd>
1767 line number of the issue (integer) 1959 line number of the issue
1768 </dd> 1960 </dd>
1769 <dt><i>pos</i></dt> 1961 <dt><i>pos</i> (int)</dt>
1770 <dd> 1962 <dd>
1771 position inside line (integer) 1963 position inside line
1772 </dd> 1964 </dd>
1773 </dl> 1965 </dl>
1774 <dl> 1966 <dl>
1775 <dt>Returns:</dt> 1967 <dt>Returns:</dt>
1776 <dd> 1968 <dd>
1777 value indicating an applied/deferred fix (-1, 0, 1), 1969 value indicating an applied/deferred fix (-1, 0, 1),
1778 a message for the fix (string) and an ID for a deferred 1970 a message code for the fix, a list of arguments for the
1779 fix (integer) 1971 message and an ID for a deferred fix
1972 </dd>
1973 </dl>
1974 <dl>
1975 <dt>Return Type:</dt>
1976 <dd>
1977 tuple of (int, str, list or int, int)
1780 </dd> 1978 </dd>
1781 </dl> 1979 </dl>
1782 <a NAME="CodeStyleFixer.__fixW292" ID="CodeStyleFixer.__fixW292"></a> 1980 <a NAME="CodeStyleFixer.__fixW292" ID="CodeStyleFixer.__fixW292"></a>
1783 <h4>CodeStyleFixer.__fixW292</h4> 1981 <h4>CodeStyleFixer.__fixW292</h4>
1784 <b>__fixW292</b>(<i>code, line, pos</i>) 1982 <b>__fixW292</b>(<i>code, line, pos</i>)
1789 <p> 1987 <p>
1790 Codes: W292 1988 Codes: W292
1791 </p> 1989 </p>
1792 <dl> 1990 <dl>
1793 1991
1794 <dt><i>code</i></dt> 1992 <dt><i>code</i> (str)</dt>
1795 <dd> 1993 <dd>
1796 code of the issue (string) 1994 code of the issue
1797 </dd> 1995 </dd>
1798 <dt><i>line</i></dt> 1996 <dt><i>line</i> (int)</dt>
1799 <dd> 1997 <dd>
1800 line number of the issue (integer) 1998 line number of the issue
1801 </dd> 1999 </dd>
1802 <dt><i>pos</i></dt> 2000 <dt><i>pos</i> (int)</dt>
1803 <dd> 2001 <dd>
1804 position inside line (integer) 2002 position inside line
1805 </dd> 2003 </dd>
1806 </dl> 2004 </dl>
1807 <dl> 2005 <dl>
1808 <dt>Returns:</dt> 2006 <dt>Returns:</dt>
1809 <dd> 2007 <dd>
1810 value indicating an applied/deferred fix (-1, 0, 1), 2008 value indicating an applied/deferred fix (-1, 0, 1),
1811 a message for the fix (string) and an ID for a deferred 2009 a message code for the fix, a list of arguments for the
1812 fix (integer) 2010 message and an ID for a deferred fix
2011 </dd>
2012 </dl>
2013 <dl>
2014 <dt>Return Type:</dt>
2015 <dd>
2016 tuple of (int, str, list or int, int)
1813 </dd> 2017 </dd>
1814 </dl> 2018 </dl>
1815 <a NAME="CodeStyleFixer.__fixW391" ID="CodeStyleFixer.__fixW391"></a> 2019 <a NAME="CodeStyleFixer.__fixW391" ID="CodeStyleFixer.__fixW391"></a>
1816 <h4>CodeStyleFixer.__fixW391</h4> 2020 <h4>CodeStyleFixer.__fixW391</h4>
1817 <b>__fixW391</b>(<i>code, line, pos</i>) 2021 <b>__fixW391</b>(<i>code, line, pos</i>)
1822 <p> 2026 <p>
1823 Codes: W391 2027 Codes: W391
1824 </p> 2028 </p>
1825 <dl> 2029 <dl>
1826 2030
1827 <dt><i>code</i></dt> 2031 <dt><i>code</i> (str)</dt>
1828 <dd> 2032 <dd>
1829 code of the issue (string) 2033 code of the issue
1830 </dd> 2034 </dd>
1831 <dt><i>line</i></dt> 2035 <dt><i>line</i> (int)</dt>
1832 <dd> 2036 <dd>
1833 line number of the issue (integer) 2037 line number of the issue
1834 </dd> 2038 </dd>
1835 <dt><i>pos</i></dt> 2039 <dt><i>pos</i> (int)</dt>
1836 <dd> 2040 <dd>
1837 position inside line (integer) 2041 position inside line
1838 </dd> 2042 </dd>
1839 </dl> 2043 </dl>
1840 <dl> 2044 <dl>
1841 <dt>Returns:</dt> 2045 <dt>Returns:</dt>
1842 <dd> 2046 <dd>
1843 value indicating an applied/deferred fix (-1, 0, 1), 2047 value indicating an applied/deferred fix (-1, 0, 1),
1844 a message for the fix (string) and an ID for a deferred 2048 a message code for the fix, a list of arguments for the
1845 fix (integer) 2049 message and an ID for a deferred fix
2050 </dd>
2051 </dl>
2052 <dl>
2053 <dt>Return Type:</dt>
2054 <dd>
2055 tuple of (int, str, list or int, int)
1846 </dd> 2056 </dd>
1847 </dl> 2057 </dl>
1848 <a NAME="CodeStyleFixer.__fixW603" ID="CodeStyleFixer.__fixW603"></a> 2058 <a NAME="CodeStyleFixer.__fixW603" ID="CodeStyleFixer.__fixW603"></a>
1849 <h4>CodeStyleFixer.__fixW603</h4> 2059 <h4>CodeStyleFixer.__fixW603</h4>
1850 <b>__fixW603</b>(<i>code, line, pos</i>) 2060 <b>__fixW603</b>(<i>code, line, pos</i>)
1855 <p> 2065 <p>
1856 Codes: W603 2066 Codes: W603
1857 </p> 2067 </p>
1858 <dl> 2068 <dl>
1859 2069
1860 <dt><i>code</i></dt> 2070 <dt><i>code</i> (str)</dt>
1861 <dd> 2071 <dd>
1862 code of the issue (string) 2072 code of the issue
1863 </dd> 2073 </dd>
1864 <dt><i>line</i></dt> 2074 <dt><i>line</i> (int)</dt>
1865 <dd> 2075 <dd>
1866 line number of the issue (integer) 2076 line number of the issue
1867 </dd> 2077 </dd>
1868 <dt><i>pos</i></dt> 2078 <dt><i>pos</i> (int)</dt>
1869 <dd> 2079 <dd>
1870 position inside line (integer) 2080 position inside line
1871 </dd> 2081 </dd>
1872 </dl> 2082 </dl>
1873 <dl> 2083 <dl>
1874 <dt>Returns:</dt> 2084 <dt>Returns:</dt>
1875 <dd> 2085 <dd>
1876 value indicating an applied/deferred fix (-1, 0, 1), 2086 value indicating an applied/deferred fix (-1, 0, 1),
1877 a message for the fix (string) and an ID for a deferred 2087 a message code for the fix, a list of arguments for the
1878 fix (integer) 2088 message and an ID for a deferred fix
2089 </dd>
2090 </dl>
2091 <dl>
2092 <dt>Return Type:</dt>
2093 <dd>
2094 tuple of (int, str, list or int, int)
1879 </dd> 2095 </dd>
1880 </dl> 2096 </dl>
1881 <a NAME="CodeStyleFixer.__fixWhitespace" ID="CodeStyleFixer.__fixWhitespace"></a> 2097 <a NAME="CodeStyleFixer.__fixWhitespace" ID="CodeStyleFixer.__fixWhitespace"></a>
1882 <h4>CodeStyleFixer.__fixWhitespace</h4> 2098 <h4>CodeStyleFixer.__fixWhitespace</h4>
1883 <b>__fixWhitespace</b>(<i>line, offset, replacement</i>) 2099 <b>__fixWhitespace</b>(<i>line, offset, replacement</i>)
2009 dictionary containing the fix results 2225 dictionary containing the fix results
2010 </dd> 2226 </dd>
2011 </dl> 2227 </dl>
2012 <a NAME="CodeStyleFixer.fixIssue" ID="CodeStyleFixer.fixIssue"></a> 2228 <a NAME="CodeStyleFixer.fixIssue" ID="CodeStyleFixer.fixIssue"></a>
2013 <h4>CodeStyleFixer.fixIssue</h4> 2229 <h4>CodeStyleFixer.fixIssue</h4>
2014 <b>fixIssue</b>(<i>line, pos, message</i>) 2230 <b>fixIssue</b>(<i>line, pos, code</i>)
2015 2231
2016 <p> 2232 <p>
2017 Public method to fix the fixable issues. 2233 Public method to fix the fixable issues.
2018 </p> 2234 </p>
2019 <dl> 2235 <dl>
2020 2236
2021 <dt><i>line</i></dt> 2237 <dt><i>line</i> (int)</dt>
2022 <dd> 2238 <dd>
2023 line number of issue (integer) 2239 line number of the issue
2024 </dd> 2240 </dd>
2025 <dt><i>pos</i></dt> 2241 <dt><i>pos</i> (int)</dt>
2026 <dd> 2242 <dd>
2027 character position of issue (integer) 2243 position inside line
2028 </dd> 2244 </dd>
2029 <dt><i>message</i></dt> 2245 <dt><i>code</i> (str)</dt>
2030 <dd> 2246 <dd>
2031 message text (string) 2247 code of the issue
2032 </dd> 2248 </dd>
2033 </dl> 2249 </dl>
2034 <dl> 2250 <dl>
2035 <dt>Returns:</dt> 2251 <dt>Returns:</dt>
2036 <dd> 2252 <dd>
2037 value indicating an applied/deferred fix (-1, 0, 1), 2253 value indicating an applied/deferred fix (-1, 0, 1),
2038 a message for the fix (string) and an ID for a deferred 2254 a message code for the fix, arguments list for the message
2039 fix (integer) 2255 and an ID for a deferred fix
2256 </dd>
2257 </dl>
2258 <dl>
2259 <dt>Return Type:</dt>
2260 <dd>
2261 tuple of (int, str, list, int)
2040 </dd> 2262 </dd>
2041 </dl> 2263 </dl>
2042 <a NAME="CodeStyleFixer.mutualStartswith" ID="CodeStyleFixer.mutualStartswith"></a> 2264 <a NAME="CodeStyleFixer.mutualStartswith" ID="CodeStyleFixer.mutualStartswith"></a>
2043 <h4>CodeStyleFixer.mutualStartswith</h4> 2265 <h4>CodeStyleFixer.mutualStartswith</h4>
2044 <b>mutualStartswith</b>(<i>b</i>) 2266 <b>mutualStartswith</b>(<i>b</i>)

eric ide

mercurial