798 <item> |
798 <item> |
799 <widget class="QGroupBox" name="groupBox_10"> |
799 <widget class="QGroupBox" name="groupBox_10"> |
800 <property name="title"> |
800 <property name="title"> |
801 <string>Type Annotations</string> |
801 <string>Type Annotations</string> |
802 </property> |
802 </property> |
803 <layout class="QGridLayout" name="gridLayout_6"> |
803 <layout class="QVBoxLayout" name="verticalLayout_3"> |
804 <item row="0" column="0"> |
804 <item> |
805 <widget class="QLabel" name="label_18"> |
805 <layout class="QGridLayout" name="gridLayout_6"> |
|
806 <item row="0" column="0"> |
|
807 <widget class="QLabel" name="label_18"> |
|
808 <property name="text"> |
|
809 <string>Min. Coverage:</string> |
|
810 </property> |
|
811 </widget> |
|
812 </item> |
|
813 <item row="0" column="1"> |
|
814 <widget class="QSpinBox" name="minAnnotationsCoverageSpinBox"> |
|
815 <property name="toolTip"> |
|
816 <string>Enter the minimum percentage of type annotations</string> |
|
817 </property> |
|
818 <property name="alignment"> |
|
819 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
820 </property> |
|
821 <property name="specialValueText"> |
|
822 <string>off</string> |
|
823 </property> |
|
824 <property name="suffix"> |
|
825 <string>%</string> |
|
826 </property> |
|
827 <property name="maximum"> |
|
828 <number>100</number> |
|
829 </property> |
|
830 </widget> |
|
831 </item> |
|
832 <item row="0" column="2"> |
|
833 <spacer name="horizontalSpacer_7"> |
|
834 <property name="orientation"> |
|
835 <enum>Qt::Horizontal</enum> |
|
836 </property> |
|
837 <property name="sizeHint" stdset="0"> |
|
838 <size> |
|
839 <width>352</width> |
|
840 <height>20</height> |
|
841 </size> |
|
842 </property> |
|
843 </spacer> |
|
844 </item> |
|
845 <item row="1" column="0"> |
|
846 <widget class="QLabel" name="label_19"> |
|
847 <property name="text"> |
|
848 <string>Max. Complexity:</string> |
|
849 </property> |
|
850 </widget> |
|
851 </item> |
|
852 <item row="1" column="1"> |
|
853 <widget class="QSpinBox" name="maxAnnotationsComplexitySpinBox"> |
|
854 <property name="toolTip"> |
|
855 <string>Enter the maximum type annotation complexity</string> |
|
856 </property> |
|
857 <property name="alignment"> |
|
858 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
859 </property> |
|
860 <property name="minimum"> |
|
861 <number>1</number> |
|
862 </property> |
|
863 <property name="maximum"> |
|
864 <number>9</number> |
|
865 </property> |
|
866 </widget> |
|
867 </item> |
|
868 <item row="2" column="0"> |
|
869 <widget class="QLabel" name="label_32"> |
|
870 <property name="text"> |
|
871 <string>Max. Length:</string> |
|
872 </property> |
|
873 </widget> |
|
874 </item> |
|
875 <item row="2" column="1"> |
|
876 <widget class="QSpinBox" name="maxAnnotationsLengthSpinBox"> |
|
877 <property name="toolTip"> |
|
878 <string>Enter the maximum type annotation length</string> |
|
879 </property> |
|
880 <property name="alignment"> |
|
881 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
882 </property> |
|
883 <property name="minimum"> |
|
884 <number>1</number> |
|
885 </property> |
|
886 <property name="maximum"> |
|
887 <number>15</number> |
|
888 </property> |
|
889 </widget> |
|
890 </item> |
|
891 </layout> |
|
892 </item> |
|
893 <item> |
|
894 <layout class="QGridLayout" name="gridLayout_9"> |
|
895 <item row="0" column="0"> |
|
896 <widget class="QCheckBox" name="suppressNoneReturningCheckBox"> |
|
897 <property name="toolTip"> |
|
898 <string>Select to not report functions without returns or with only bare returns</string> |
|
899 </property> |
|
900 <property name="text"> |
|
901 <string>Suppress 'None' return</string> |
|
902 </property> |
|
903 </widget> |
|
904 </item> |
|
905 <item row="0" column="1"> |
|
906 <widget class="QCheckBox" name="suppressDummyArgsCheckBox"> |
|
907 <property name="toolTip"> |
|
908 <string>Select to not report dummy (i.e. '_') arguments </string> |
|
909 </property> |
|
910 <property name="text"> |
|
911 <string>Suppress Dummy Arguments</string> |
|
912 </property> |
|
913 </widget> |
|
914 </item> |
|
915 <item row="1" column="0"> |
|
916 <widget class="QCheckBox" name="allowUntypedDefsCheckBox"> |
|
917 <property name="toolTip"> |
|
918 <string>Select to not report dynamically typed functions</string> |
|
919 </property> |
|
920 <property name="text"> |
|
921 <string>Allow Untyped Functions</string> |
|
922 </property> |
|
923 </widget> |
|
924 </item> |
|
925 <item row="1" column="1"> |
|
926 <widget class="QCheckBox" name="allowUntypedNestedCheckBox"> |
|
927 <property name="toolTip"> |
|
928 <string>Select to not report dynamically typed nested functions</string> |
|
929 </property> |
|
930 <property name="text"> |
|
931 <string>Allow Untyped Nested Functions</string> |
|
932 </property> |
|
933 </widget> |
|
934 </item> |
|
935 <item row="2" column="0" colspan="2"> |
|
936 <widget class="QCheckBox" name="mypyInitReturnCheckBox"> |
|
937 <property name="toolTip"> |
|
938 <string>Select to not report unhinted '__init__' return</string> |
|
939 </property> |
|
940 <property name="text"> |
|
941 <string>Allow Untyped '__init__' function</string> |
|
942 </property> |
|
943 </widget> |
|
944 </item> |
|
945 </layout> |
|
946 </item> |
|
947 <item> |
|
948 <widget class="QLabel" name="label_33"> |
806 <property name="text"> |
949 <property name="text"> |
807 <string>Min. Coverage:</string> |
950 <string>Dispatch Decorators:</string> |
808 </property> |
951 </property> |
809 </widget> |
952 </widget> |
810 </item> |
953 </item> |
811 <item row="0" column="1"> |
954 <item> |
812 <widget class="QSpinBox" name="minAnnotationsCoverageSpinBox"> |
955 <widget class="E5ClearableLineEdit" name="dispatchDecoratorEdit"> |
813 <property name="toolTip"> |
956 <property name="toolTip"> |
814 <string>Enter the minimum percentage of type annotations</string> |
957 <string>Enter the list of dispatch decorators separated by comma</string> |
815 </property> |
958 </property> |
816 <property name="specialValueText"> |
959 </widget> |
817 <string>off</string> |
960 </item> |
818 </property> |
961 <item> |
819 <property name="suffix"> |
962 <widget class="QLabel" name="label_34"> |
820 <string>%</string> |
|
821 </property> |
|
822 <property name="maximum"> |
|
823 <number>100</number> |
|
824 </property> |
|
825 </widget> |
|
826 </item> |
|
827 <item row="0" column="2"> |
|
828 <spacer name="horizontalSpacer_7"> |
|
829 <property name="orientation"> |
|
830 <enum>Qt::Horizontal</enum> |
|
831 </property> |
|
832 <property name="sizeHint" stdset="0"> |
|
833 <size> |
|
834 <width>352</width> |
|
835 <height>20</height> |
|
836 </size> |
|
837 </property> |
|
838 </spacer> |
|
839 </item> |
|
840 <item row="1" column="0"> |
|
841 <widget class="QLabel" name="label_19"> |
|
842 <property name="text"> |
963 <property name="text"> |
843 <string>Max. Complexity:</string> |
964 <string>Overload Decorators:</string> |
844 </property> |
965 </property> |
845 </widget> |
966 </widget> |
846 </item> |
967 </item> |
847 <item row="1" column="1"> |
968 <item> |
848 <widget class="QSpinBox" name="maxAnnotationsComplexitySpinBox"> |
969 <widget class="E5ClearableLineEdit" name="overloadDecoratorEdit"> |
849 <property name="toolTip"> |
970 <property name="toolTip"> |
850 <string>Enter the maximum type annotation complexity</string> |
971 <string>Enter the list of typing.overload decorators separated by comma</string> |
851 </property> |
|
852 <property name="minimum"> |
|
853 <number>1</number> |
|
854 </property> |
|
855 <property name="maximum"> |
|
856 <number>9</number> |
|
857 </property> |
972 </property> |
858 </widget> |
973 </widget> |
859 </item> |
974 </item> |
860 </layout> |
975 </layout> |
861 </widget> |
976 </widget> |
1505 <tabstop>complexitySpinBox</tabstop> |
1620 <tabstop>complexitySpinBox</tabstop> |
1506 <tabstop>lineComplexitySpinBox</tabstop> |
1621 <tabstop>lineComplexitySpinBox</tabstop> |
1507 <tabstop>lineComplexityScoreSpinBox</tabstop> |
1622 <tabstop>lineComplexityScoreSpinBox</tabstop> |
1508 <tabstop>minAnnotationsCoverageSpinBox</tabstop> |
1623 <tabstop>minAnnotationsCoverageSpinBox</tabstop> |
1509 <tabstop>maxAnnotationsComplexitySpinBox</tabstop> |
1624 <tabstop>maxAnnotationsComplexitySpinBox</tabstop> |
|
1625 <tabstop>maxAnnotationsLengthSpinBox</tabstop> |
|
1626 <tabstop>suppressNoneReturningCheckBox</tabstop> |
|
1627 <tabstop>suppressDummyArgsCheckBox</tabstop> |
|
1628 <tabstop>allowUntypedDefsCheckBox</tabstop> |
|
1629 <tabstop>allowUntypedNestedCheckBox</tabstop> |
|
1630 <tabstop>mypyInitReturnCheckBox</tabstop> |
|
1631 <tabstop>dispatchDecoratorEdit</tabstop> |
|
1632 <tabstop>overloadDecoratorEdit</tabstop> |
1510 <tabstop>tmpDirectoriesEdit</tabstop> |
1633 <tabstop>tmpDirectoriesEdit</tabstop> |
1511 <tabstop>hashesEdit</tabstop> |
1634 <tabstop>hashesEdit</tabstop> |
1512 <tabstop>insecureSslProtocolsEdit</tabstop> |
1635 <tabstop>insecureSslProtocolsEdit</tabstop> |
1513 <tabstop>dsaHighRiskCombo</tabstop> |
1636 <tabstop>dsaHighRiskCombo</tabstop> |
1514 <tabstop>dsaMediumRiskCombo</tabstop> |
1637 <tabstop>dsaMediumRiskCombo</tabstop> |