723 </layout> |
723 </layout> |
724 </item> |
724 </item> |
725 </layout> |
725 </layout> |
726 </widget> |
726 </widget> |
727 </item> |
727 </item> |
728 <item> |
|
729 <widget class="QGroupBox" name="groupBox_3"> |
|
730 <property name="title"> |
|
731 <string>Code Complexity</string> |
|
732 </property> |
|
733 <layout class="QGridLayout" name="gridLayout_4"> |
|
734 <item row="0" column="2" rowspan="2"> |
|
735 <spacer name="horizontalSpacer_5"> |
|
736 <property name="orientation"> |
|
737 <enum>Qt::Horizontal</enum> |
|
738 </property> |
|
739 <property name="sizeHint" stdset="0"> |
|
740 <size> |
|
741 <width>313</width> |
|
742 <height>20</height> |
|
743 </size> |
|
744 </property> |
|
745 </spacer> |
|
746 </item> |
|
747 <item row="0" column="0"> |
|
748 <widget class="QLabel" name="label_8"> |
|
749 <property name="text"> |
|
750 <string>Max. McCabe Complexity:</string> |
|
751 </property> |
|
752 </widget> |
|
753 </item> |
|
754 <item row="0" column="1"> |
|
755 <widget class="QSpinBox" name="complexitySpinBox"> |
|
756 <property name="toolTip"> |
|
757 <string>Enter the maximum allowed code complexity (McCabe: 10)</string> |
|
758 </property> |
|
759 <property name="alignment"> |
|
760 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
761 </property> |
|
762 <property name="maximum"> |
|
763 <number>100</number> |
|
764 </property> |
|
765 <property name="value"> |
|
766 <number>10</number> |
|
767 </property> |
|
768 </widget> |
|
769 </item> |
|
770 <item row="1" column="0"> |
|
771 <widget class="QLabel" name="label_13"> |
|
772 <property name="text"> |
|
773 <string>Max. Line Complexity:</string> |
|
774 </property> |
|
775 </widget> |
|
776 </item> |
|
777 <item row="1" column="1"> |
|
778 <widget class="QSpinBox" name="lineComplexitySpinBox"> |
|
779 <property name="toolTip"> |
|
780 <string>Enter the maximum complexity (number of nodes) for a line of code</string> |
|
781 </property> |
|
782 <property name="alignment"> |
|
783 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
784 </property> |
|
785 <property name="maximum"> |
|
786 <number>100</number> |
|
787 </property> |
|
788 <property name="value"> |
|
789 <number>15</number> |
|
790 </property> |
|
791 </widget> |
|
792 </item> |
|
793 <item row="2" column="0"> |
|
794 <widget class="QLabel" name="label_14"> |
|
795 <property name="text"> |
|
796 <string>Max. Line Complexity Score:</string> |
|
797 </property> |
|
798 </widget> |
|
799 </item> |
|
800 <item row="2" column="1"> |
|
801 <widget class="QSpinBox" name="lineComplexityScoreSpinBox"> |
|
802 <property name="toolTip"> |
|
803 <string>Enter the maximum allowed median for line complexity</string> |
|
804 </property> |
|
805 <property name="alignment"> |
|
806 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
807 </property> |
|
808 <property name="maximum"> |
|
809 <number>100</number> |
|
810 </property> |
|
811 <property name="value"> |
|
812 <number>10</number> |
|
813 </property> |
|
814 </widget> |
|
815 </item> |
|
816 </layout> |
|
817 </widget> |
|
818 </item> |
|
819 <item> |
|
820 <widget class="QGroupBox" name="groupBox_10"> |
|
821 <property name="title"> |
|
822 <string>Type Annotations</string> |
|
823 </property> |
|
824 <layout class="QVBoxLayout" name="verticalLayout_3"> |
|
825 <item> |
|
826 <layout class="QGridLayout" name="gridLayout_6"> |
|
827 <item row="0" column="0"> |
|
828 <widget class="QLabel" name="label_18"> |
|
829 <property name="text"> |
|
830 <string>Min. Coverage:</string> |
|
831 </property> |
|
832 </widget> |
|
833 </item> |
|
834 <item row="0" column="1"> |
|
835 <widget class="QSpinBox" name="minAnnotationsCoverageSpinBox"> |
|
836 <property name="toolTip"> |
|
837 <string>Enter the minimum percentage of type annotations</string> |
|
838 </property> |
|
839 <property name="alignment"> |
|
840 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
841 </property> |
|
842 <property name="specialValueText"> |
|
843 <string>off</string> |
|
844 </property> |
|
845 <property name="suffix"> |
|
846 <string>%</string> |
|
847 </property> |
|
848 <property name="maximum"> |
|
849 <number>100</number> |
|
850 </property> |
|
851 </widget> |
|
852 </item> |
|
853 <item row="0" column="2"> |
|
854 <spacer name="horizontalSpacer_7"> |
|
855 <property name="orientation"> |
|
856 <enum>Qt::Horizontal</enum> |
|
857 </property> |
|
858 <property name="sizeHint" stdset="0"> |
|
859 <size> |
|
860 <width>352</width> |
|
861 <height>20</height> |
|
862 </size> |
|
863 </property> |
|
864 </spacer> |
|
865 </item> |
|
866 <item row="1" column="0"> |
|
867 <widget class="QLabel" name="label_19"> |
|
868 <property name="text"> |
|
869 <string>Max. Complexity:</string> |
|
870 </property> |
|
871 </widget> |
|
872 </item> |
|
873 <item row="1" column="1"> |
|
874 <widget class="QSpinBox" name="maxAnnotationsComplexitySpinBox"> |
|
875 <property name="toolTip"> |
|
876 <string>Enter the maximum type annotation complexity</string> |
|
877 </property> |
|
878 <property name="alignment"> |
|
879 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
880 </property> |
|
881 <property name="minimum"> |
|
882 <number>1</number> |
|
883 </property> |
|
884 <property name="maximum"> |
|
885 <number>9</number> |
|
886 </property> |
|
887 </widget> |
|
888 </item> |
|
889 <item row="2" column="0"> |
|
890 <widget class="QLabel" name="label_32"> |
|
891 <property name="text"> |
|
892 <string>Max. Length:</string> |
|
893 </property> |
|
894 </widget> |
|
895 </item> |
|
896 <item row="2" column="1"> |
|
897 <widget class="QSpinBox" name="maxAnnotationsLengthSpinBox"> |
|
898 <property name="toolTip"> |
|
899 <string>Enter the maximum type annotation length</string> |
|
900 </property> |
|
901 <property name="alignment"> |
|
902 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
903 </property> |
|
904 <property name="minimum"> |
|
905 <number>1</number> |
|
906 </property> |
|
907 <property name="maximum"> |
|
908 <number>15</number> |
|
909 </property> |
|
910 </widget> |
|
911 </item> |
|
912 </layout> |
|
913 </item> |
|
914 <item> |
|
915 <layout class="QGridLayout" name="gridLayout_9"> |
|
916 <item row="0" column="0"> |
|
917 <widget class="QCheckBox" name="suppressNoneReturningCheckBox"> |
|
918 <property name="toolTip"> |
|
919 <string>Select to not report functions without returns or with only bare returns</string> |
|
920 </property> |
|
921 <property name="text"> |
|
922 <string>Suppress 'None' return</string> |
|
923 </property> |
|
924 </widget> |
|
925 </item> |
|
926 <item row="0" column="1"> |
|
927 <widget class="QCheckBox" name="suppressDummyArgsCheckBox"> |
|
928 <property name="toolTip"> |
|
929 <string>Select to not report dummy (i.e. '_') arguments</string> |
|
930 </property> |
|
931 <property name="text"> |
|
932 <string>Suppress Dummy Arguments</string> |
|
933 </property> |
|
934 </widget> |
|
935 </item> |
|
936 <item row="1" column="0"> |
|
937 <widget class="QCheckBox" name="allowUntypedDefsCheckBox"> |
|
938 <property name="toolTip"> |
|
939 <string>Select to not report dynamically typed functions</string> |
|
940 </property> |
|
941 <property name="text"> |
|
942 <string>Allow Untyped Functions</string> |
|
943 </property> |
|
944 </widget> |
|
945 </item> |
|
946 <item row="1" column="1"> |
|
947 <widget class="QCheckBox" name="allowUntypedNestedCheckBox"> |
|
948 <property name="toolTip"> |
|
949 <string>Select to not report dynamically typed nested functions</string> |
|
950 </property> |
|
951 <property name="text"> |
|
952 <string>Allow Untyped Nested Functions</string> |
|
953 </property> |
|
954 </widget> |
|
955 </item> |
|
956 <item row="2" column="0" colspan="2"> |
|
957 <widget class="QCheckBox" name="mypyInitReturnCheckBox"> |
|
958 <property name="toolTip"> |
|
959 <string>Select to not report unhinted '__init__' return</string> |
|
960 </property> |
|
961 <property name="text"> |
|
962 <string>Allow Untyped '__init__' function</string> |
|
963 </property> |
|
964 </widget> |
|
965 </item> |
|
966 </layout> |
|
967 </item> |
|
968 <item> |
|
969 <widget class="QLabel" name="label_33"> |
|
970 <property name="text"> |
|
971 <string>Dispatch Decorators:</string> |
|
972 </property> |
|
973 </widget> |
|
974 </item> |
|
975 <item> |
|
976 <widget class="QLineEdit" name="dispatchDecoratorEdit"> |
|
977 <property name="toolTip"> |
|
978 <string>Enter the list of dispatch decorators separated by comma</string> |
|
979 </property> |
|
980 <property name="clearButtonEnabled"> |
|
981 <bool>true</bool> |
|
982 </property> |
|
983 </widget> |
|
984 </item> |
|
985 <item> |
|
986 <widget class="QLabel" name="label_34"> |
|
987 <property name="text"> |
|
988 <string>Overload Decorators:</string> |
|
989 </property> |
|
990 </widget> |
|
991 </item> |
|
992 <item> |
|
993 <widget class="QLineEdit" name="overloadDecoratorEdit"> |
|
994 <property name="toolTip"> |
|
995 <string>Enter the list of typing.overload decorators separated by comma</string> |
|
996 </property> |
|
997 <property name="clearButtonEnabled"> |
|
998 <bool>true</bool> |
|
999 </property> |
|
1000 </widget> |
|
1001 </item> |
|
1002 </layout> |
|
1003 </widget> |
|
1004 </item> |
|
1005 </layout> |
728 </layout> |
1006 </widget> |
729 </widget> |
1007 </widget> |
730 </widget> |
|
731 </item> |
|
732 </layout> |
|
733 </widget> |
|
734 <widget class="QWidget" name="codeComplexityTab"> |
|
735 <attribute name="title"> |
|
736 <string>Complexity</string> |
|
737 </attribute> |
|
738 <layout class="QVBoxLayout" name="verticalLayout_17"> |
|
739 <item> |
|
740 <widget class="QGroupBox" name="groupBox_3"> |
|
741 <property name="title"> |
|
742 <string>Code Complexity</string> |
|
743 </property> |
|
744 <layout class="QGridLayout" name="gridLayout_4"> |
|
745 <item row="0" column="2" rowspan="2"> |
|
746 <spacer name="horizontalSpacer_5"> |
|
747 <property name="orientation"> |
|
748 <enum>Qt::Horizontal</enum> |
|
749 </property> |
|
750 <property name="sizeHint" stdset="0"> |
|
751 <size> |
|
752 <width>313</width> |
|
753 <height>20</height> |
|
754 </size> |
|
755 </property> |
|
756 </spacer> |
|
757 </item> |
|
758 <item row="0" column="0"> |
|
759 <widget class="QLabel" name="label_8"> |
|
760 <property name="text"> |
|
761 <string>Max. McCabe Complexity:</string> |
|
762 </property> |
|
763 </widget> |
|
764 </item> |
|
765 <item row="0" column="1"> |
|
766 <widget class="QSpinBox" name="complexitySpinBox"> |
|
767 <property name="toolTip"> |
|
768 <string>Enter the maximum allowed code complexity (McCabe: 10)</string> |
|
769 </property> |
|
770 <property name="alignment"> |
|
771 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
772 </property> |
|
773 <property name="maximum"> |
|
774 <number>100</number> |
|
775 </property> |
|
776 <property name="value"> |
|
777 <number>10</number> |
|
778 </property> |
|
779 </widget> |
|
780 </item> |
|
781 <item row="1" column="0"> |
|
782 <widget class="QLabel" name="label_13"> |
|
783 <property name="text"> |
|
784 <string>Max. Line Complexity:</string> |
|
785 </property> |
|
786 </widget> |
|
787 </item> |
|
788 <item row="1" column="1"> |
|
789 <widget class="QSpinBox" name="lineComplexitySpinBox"> |
|
790 <property name="toolTip"> |
|
791 <string>Enter the maximum complexity (number of nodes) for a line of code</string> |
|
792 </property> |
|
793 <property name="alignment"> |
|
794 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
795 </property> |
|
796 <property name="maximum"> |
|
797 <number>100</number> |
|
798 </property> |
|
799 <property name="value"> |
|
800 <number>15</number> |
|
801 </property> |
|
802 </widget> |
|
803 </item> |
|
804 <item row="2" column="0"> |
|
805 <widget class="QLabel" name="label_14"> |
|
806 <property name="text"> |
|
807 <string>Max. Line Complexity Score:</string> |
|
808 </property> |
|
809 </widget> |
|
810 </item> |
|
811 <item row="2" column="1"> |
|
812 <widget class="QSpinBox" name="lineComplexityScoreSpinBox"> |
|
813 <property name="toolTip"> |
|
814 <string>Enter the maximum allowed median for line complexity</string> |
|
815 </property> |
|
816 <property name="alignment"> |
|
817 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
818 </property> |
|
819 <property name="maximum"> |
|
820 <number>100</number> |
|
821 </property> |
|
822 <property name="value"> |
|
823 <number>10</number> |
|
824 </property> |
|
825 </widget> |
|
826 </item> |
|
827 </layout> |
|
828 </widget> |
|
829 </item> |
|
830 <item> |
|
831 <spacer name="verticalSpacer_8"> |
|
832 <property name="orientation"> |
|
833 <enum>Qt::Vertical</enum> |
|
834 </property> |
|
835 <property name="sizeHint" stdset="0"> |
|
836 <size> |
|
837 <width>20</width> |
|
838 <height>802</height> |
|
839 </size> |
|
840 </property> |
|
841 </spacer> |
|
842 </item> |
|
843 </layout> |
|
844 </widget> |
|
845 <widget class="QWidget" name="typeAnnotationsTab"> |
|
846 <attribute name="title"> |
|
847 <string>Annotations</string> |
|
848 </attribute> |
|
849 <layout class="QVBoxLayout" name="verticalLayout_18"> |
|
850 <item> |
|
851 <widget class="QGroupBox" name="groupBox_10"> |
|
852 <property name="title"> |
|
853 <string>Type Annotations</string> |
|
854 </property> |
|
855 <layout class="QVBoxLayout" name="verticalLayout_3"> |
|
856 <item> |
|
857 <layout class="QGridLayout" name="gridLayout_6"> |
|
858 <item row="0" column="0"> |
|
859 <widget class="QLabel" name="label_18"> |
|
860 <property name="text"> |
|
861 <string>Min. Coverage:</string> |
|
862 </property> |
|
863 </widget> |
|
864 </item> |
|
865 <item row="0" column="1"> |
|
866 <widget class="QSpinBox" name="minAnnotationsCoverageSpinBox"> |
|
867 <property name="toolTip"> |
|
868 <string>Enter the minimum percentage of type annotations</string> |
|
869 </property> |
|
870 <property name="alignment"> |
|
871 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
872 </property> |
|
873 <property name="specialValueText"> |
|
874 <string>off</string> |
|
875 </property> |
|
876 <property name="suffix"> |
|
877 <string>%</string> |
|
878 </property> |
|
879 <property name="maximum"> |
|
880 <number>100</number> |
|
881 </property> |
|
882 </widget> |
|
883 </item> |
|
884 <item row="0" column="2"> |
|
885 <spacer name="horizontalSpacer_7"> |
|
886 <property name="orientation"> |
|
887 <enum>Qt::Horizontal</enum> |
|
888 </property> |
|
889 <property name="sizeHint" stdset="0"> |
|
890 <size> |
|
891 <width>352</width> |
|
892 <height>20</height> |
|
893 </size> |
|
894 </property> |
|
895 </spacer> |
|
896 </item> |
|
897 <item row="1" column="0"> |
|
898 <widget class="QLabel" name="label_19"> |
|
899 <property name="text"> |
|
900 <string>Max. Complexity:</string> |
|
901 </property> |
|
902 </widget> |
|
903 </item> |
|
904 <item row="1" column="1"> |
|
905 <widget class="QSpinBox" name="maxAnnotationsComplexitySpinBox"> |
|
906 <property name="toolTip"> |
|
907 <string>Enter the maximum type annotation complexity</string> |
|
908 </property> |
|
909 <property name="alignment"> |
|
910 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
911 </property> |
|
912 <property name="minimum"> |
|
913 <number>1</number> |
|
914 </property> |
|
915 <property name="maximum"> |
|
916 <number>9</number> |
|
917 </property> |
|
918 </widget> |
|
919 </item> |
|
920 <item row="2" column="0"> |
|
921 <widget class="QLabel" name="label_32"> |
|
922 <property name="text"> |
|
923 <string>Max. Length:</string> |
|
924 </property> |
|
925 </widget> |
|
926 </item> |
|
927 <item row="2" column="1"> |
|
928 <widget class="QSpinBox" name="maxAnnotationsLengthSpinBox"> |
|
929 <property name="toolTip"> |
|
930 <string>Enter the maximum type annotation length</string> |
|
931 </property> |
|
932 <property name="alignment"> |
|
933 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
934 </property> |
|
935 <property name="minimum"> |
|
936 <number>1</number> |
|
937 </property> |
|
938 <property name="maximum"> |
|
939 <number>15</number> |
|
940 </property> |
|
941 </widget> |
|
942 </item> |
|
943 </layout> |
|
944 </item> |
|
945 <item> |
|
946 <layout class="QGridLayout" name="gridLayout_9"> |
|
947 <item row="0" column="0"> |
|
948 <widget class="QCheckBox" name="suppressNoneReturningCheckBox"> |
|
949 <property name="toolTip"> |
|
950 <string>Select to not report functions without returns or with only bare returns</string> |
|
951 </property> |
|
952 <property name="text"> |
|
953 <string>Suppress 'None' return</string> |
|
954 </property> |
|
955 </widget> |
|
956 </item> |
|
957 <item row="0" column="1"> |
|
958 <widget class="QCheckBox" name="suppressDummyArgsCheckBox"> |
|
959 <property name="toolTip"> |
|
960 <string>Select to not report dummy (i.e. '_') arguments</string> |
|
961 </property> |
|
962 <property name="text"> |
|
963 <string>Suppress Dummy Arguments</string> |
|
964 </property> |
|
965 </widget> |
|
966 </item> |
|
967 <item row="1" column="0"> |
|
968 <widget class="QCheckBox" name="allowUntypedDefsCheckBox"> |
|
969 <property name="toolTip"> |
|
970 <string>Select to not report dynamically typed functions</string> |
|
971 </property> |
|
972 <property name="text"> |
|
973 <string>Allow Untyped Functions</string> |
|
974 </property> |
|
975 </widget> |
|
976 </item> |
|
977 <item row="1" column="1"> |
|
978 <widget class="QCheckBox" name="allowUntypedNestedCheckBox"> |
|
979 <property name="toolTip"> |
|
980 <string>Select to not report dynamically typed nested functions</string> |
|
981 </property> |
|
982 <property name="text"> |
|
983 <string>Allow Untyped Nested Functions</string> |
|
984 </property> |
|
985 </widget> |
|
986 </item> |
|
987 <item row="2" column="0" colspan="2"> |
|
988 <widget class="QCheckBox" name="mypyInitReturnCheckBox"> |
|
989 <property name="toolTip"> |
|
990 <string>Select to not report unhinted '__init__' return</string> |
|
991 </property> |
|
992 <property name="text"> |
|
993 <string>Allow Untyped '__init__' function</string> |
|
994 </property> |
|
995 </widget> |
|
996 </item> |
|
997 </layout> |
|
998 </item> |
|
999 <item> |
|
1000 <widget class="QLabel" name="label_33"> |
|
1001 <property name="text"> |
|
1002 <string>Dispatch Decorators:</string> |
|
1003 </property> |
|
1004 </widget> |
|
1005 </item> |
|
1006 <item> |
|
1007 <widget class="QLineEdit" name="dispatchDecoratorEdit"> |
|
1008 <property name="toolTip"> |
|
1009 <string>Enter the list of dispatch decorators separated by comma</string> |
|
1010 </property> |
|
1011 <property name="clearButtonEnabled"> |
|
1012 <bool>true</bool> |
|
1013 </property> |
|
1014 </widget> |
|
1015 </item> |
|
1016 <item> |
|
1017 <widget class="QLabel" name="label_34"> |
|
1018 <property name="text"> |
|
1019 <string>Overload Decorators:</string> |
|
1020 </property> |
|
1021 </widget> |
|
1022 </item> |
|
1023 <item> |
|
1024 <widget class="QLineEdit" name="overloadDecoratorEdit"> |
|
1025 <property name="toolTip"> |
|
1026 <string>Enter the list of typing.overload decorators separated by comma</string> |
|
1027 </property> |
|
1028 <property name="clearButtonEnabled"> |
|
1029 <bool>true</bool> |
|
1030 </property> |
|
1031 </widget> |
|
1032 </item> |
|
1033 </layout> |
|
1034 </widget> |
|
1035 </item> |
|
1036 <item> |
|
1037 <spacer name="verticalSpacer_9"> |
|
1038 <property name="orientation"> |
|
1039 <enum>Qt::Vertical</enum> |
|
1040 </property> |
|
1041 <property name="sizeHint" stdset="0"> |
|
1042 <size> |
|
1043 <width>20</width> |
|
1044 <height>596</height> |
|
1045 </size> |
|
1046 </property> |
|
1047 </spacer> |
1008 </item> |
1048 </item> |
1009 </layout> |
1049 </layout> |
1010 </widget> |
1050 </widget> |
1011 <widget class="QWidget" name="securityOptionsTab"> |
1051 <widget class="QWidget" name="securityOptionsTab"> |
1012 <attribute name="title"> |
1052 <attribute name="title"> |
1013 <string>Security Options</string> |
1053 <string>Security</string> |
1014 </attribute> |
1054 </attribute> |
1015 <layout class="QGridLayout" name="gridLayout_7"> |
1055 <layout class="QGridLayout" name="gridLayout_7"> |
1016 <item row="0" column="0"> |
1056 <item row="0" column="0"> |
1017 <widget class="QLabel" name="label_21"> |
1057 <widget class="QLabel" name="label_21"> |
1018 <property name="text"> |
1058 <property name="text"> |