18 </property> |
18 </property> |
19 <layout class="QVBoxLayout" name="verticalLayout_13"> |
19 <layout class="QVBoxLayout" name="verticalLayout_13"> |
20 <item> |
20 <item> |
21 <widget class="QTabWidget" name="mainWidget"> |
21 <widget class="QTabWidget" name="mainWidget"> |
22 <property name="currentIndex"> |
22 <property name="currentIndex"> |
23 <number>2</number> |
23 <number>0</number> |
24 </property> |
24 </property> |
25 <widget class="QWidget" name="configureTab"> |
25 <widget class="QWidget" name="configureTab"> |
26 <attribute name="title"> |
26 <attribute name="title"> |
27 <string>Configure</string> |
27 <string>Configure</string> |
28 </attribute> |
28 </attribute> |
29 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
29 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
30 <item> |
30 <item> |
31 <widget class="QTabWidget" name="optionsTabWidget"> |
31 <widget class="QTabWidget" name="optionsTabWidget"> |
32 <property name="currentIndex"> |
32 <property name="currentIndex"> |
33 <number>7</number> |
33 <number>0</number> |
34 </property> |
34 </property> |
35 <widget class="QWidget" name="globalOptionsTab"> |
35 <widget class="QWidget" name="globalOptionsTab"> |
36 <attribute name="title"> |
36 <attribute name="title"> |
37 <string>Globals</string> |
37 <string>Globals</string> |
38 </attribute> |
38 </attribute> |
930 </item> |
930 </item> |
931 </layout> |
931 </layout> |
932 </item> |
932 </item> |
933 <item> |
933 <item> |
934 <layout class="QGridLayout" name="gridLayout_9"> |
934 <layout class="QGridLayout" name="gridLayout_9"> |
935 <item row="0" column="0"> |
|
936 <widget class="QCheckBox" name="suppressNoneReturningCheckBox"> |
|
937 <property name="toolTip"> |
|
938 <string>Select to not report functions without returns or with only bare returns</string> |
|
939 </property> |
|
940 <property name="text"> |
|
941 <string>Suppress 'None' return</string> |
|
942 </property> |
|
943 </widget> |
|
944 </item> |
|
945 <item row="0" column="1"> |
935 <item row="0" column="1"> |
946 <widget class="QCheckBox" name="suppressDummyArgsCheckBox"> |
936 <widget class="QCheckBox" name="suppressDummyArgsCheckBox"> |
947 <property name="toolTip"> |
937 <property name="toolTip"> |
948 <string>Select to not report dummy (i.e. '_') arguments</string> |
938 <string>Select to not report dummy (i.e. '_') arguments</string> |
949 </property> |
939 </property> |
960 <property name="text"> |
950 <property name="text"> |
961 <string>Allow Untyped Functions</string> |
951 <string>Allow Untyped Functions</string> |
962 </property> |
952 </property> |
963 </widget> |
953 </widget> |
964 </item> |
954 </item> |
|
955 <item row="0" column="0"> |
|
956 <widget class="QCheckBox" name="suppressNoneReturningCheckBox"> |
|
957 <property name="toolTip"> |
|
958 <string>Select to not report functions without returns or with only bare returns</string> |
|
959 </property> |
|
960 <property name="text"> |
|
961 <string>Suppress 'None' return</string> |
|
962 </property> |
|
963 </widget> |
|
964 </item> |
|
965 <item row="2" column="1"> |
|
966 <widget class="QCheckBox" name="allowStarArgAnyCheckBox"> |
|
967 <property name="toolTip"> |
|
968 <string>Allow dynamically typed *args and **kwargs</string> |
|
969 </property> |
|
970 <property name="text"> |
|
971 <string>Allow dynamically typed * Arguments</string> |
|
972 </property> |
|
973 </widget> |
|
974 </item> |
965 <item row="1" column="1"> |
975 <item row="1" column="1"> |
966 <widget class="QCheckBox" name="allowUntypedNestedCheckBox"> |
976 <widget class="QCheckBox" name="allowUntypedNestedCheckBox"> |
967 <property name="toolTip"> |
977 <property name="toolTip"> |
968 <string>Select to not report dynamically typed nested functions</string> |
978 <string>Select to not report dynamically typed nested functions</string> |
969 </property> |
979 </property> |
970 <property name="text"> |
980 <property name="text"> |
971 <string>Allow Untyped Nested Functions</string> |
981 <string>Allow Untyped Nested Functions</string> |
|
982 </property> |
|
983 </widget> |
|
984 </item> |
|
985 <item row="3" column="0"> |
|
986 <widget class="QCheckBox" name="forceFutureAnnotationsCheckBox"> |
|
987 <property name="toolTip"> |
|
988 <string>Enforce the presence of a 'from __future__ import annotations' statement</string> |
|
989 </property> |
|
990 <property name="text"> |
|
991 <string>Enforce '__future__' statement</string> |
|
992 </property> |
|
993 </widget> |
|
994 </item> |
|
995 <item row="3" column="1"> |
|
996 <widget class="QCheckBox" name="simplifiedTypesCheckBox"> |
|
997 <property name="toolTip"> |
|
998 <string>Verifies &lt;3.10 code with simplified types uses 'from __future__ import annotations'.</string> |
|
999 </property> |
|
1000 <property name="text"> |
|
1001 <string>Check use of simplified types</string> |
972 </property> |
1002 </property> |
973 </widget> |
1003 </widget> |
974 </item> |
1004 </item> |
975 <item row="2" column="0"> |
1005 <item row="2" column="0"> |
976 <widget class="QCheckBox" name="mypyInitReturnCheckBox"> |
1006 <widget class="QCheckBox" name="mypyInitReturnCheckBox"> |
980 <property name="text"> |
1010 <property name="text"> |
981 <string>Allow Untyped '__init__' function</string> |
1011 <string>Allow Untyped '__init__' function</string> |
982 </property> |
1012 </property> |
983 </widget> |
1013 </widget> |
984 </item> |
1014 </item> |
985 <item row="2" column="1"> |
1015 <item row="4" column="0"> |
986 <widget class="QCheckBox" name="allowStarArgAnyCheckBox"> |
1016 <widget class="QCheckBox" name="typeIgnoreCheckBox"> |
987 <property name="toolTip"> |
1017 <property name="toolTip"> |
988 <string>Allow dynamically typed *args and **kwargs</string> |
1018 <string>Select to supress errors for functions annotated with a 'type: ignore' comment.</string> |
989 </property> |
1019 </property> |
990 <property name="text"> |
1020 <property name="text"> |
991 <string>Allow dynamically typed * Arguments</string> |
1021 <string>Respect 'type: ignore' comments</string> |
992 </property> |
|
993 </widget> |
|
994 </item> |
|
995 <item row="3" column="0"> |
|
996 <widget class="QCheckBox" name="forceFutureAnnotationsCheckBox"> |
|
997 <property name="toolTip"> |
|
998 <string>Enforce the presence of a 'from __future__ import annotations' statement</string> |
|
999 </property> |
|
1000 <property name="text"> |
|
1001 <string>Enforce '__future__' statement</string> |
|
1002 </property> |
|
1003 </widget> |
|
1004 </item> |
|
1005 <item row="3" column="1"> |
|
1006 <widget class="QCheckBox" name="simplifiedTypesCheckBox"> |
|
1007 <property name="toolTip"> |
|
1008 <string>Verifies &lt;3.10 code with simplified types uses 'from __future__ import annotations'.</string> |
|
1009 </property> |
|
1010 <property name="text"> |
|
1011 <string>Check use of simplified types</string> |
|
1012 </property> |
1022 </property> |
1013 </widget> |
1023 </widget> |
1014 </item> |
1024 </item> |
1015 </layout> |
1025 </layout> |
1016 </item> |
1026 </item> |
2083 <tabstop>allowUntypedNestedCheckBox</tabstop> |
2093 <tabstop>allowUntypedNestedCheckBox</tabstop> |
2084 <tabstop>mypyInitReturnCheckBox</tabstop> |
2094 <tabstop>mypyInitReturnCheckBox</tabstop> |
2085 <tabstop>allowStarArgAnyCheckBox</tabstop> |
2095 <tabstop>allowStarArgAnyCheckBox</tabstop> |
2086 <tabstop>forceFutureAnnotationsCheckBox</tabstop> |
2096 <tabstop>forceFutureAnnotationsCheckBox</tabstop> |
2087 <tabstop>simplifiedTypesCheckBox</tabstop> |
2097 <tabstop>simplifiedTypesCheckBox</tabstop> |
|
2098 <tabstop>typeIgnoreCheckBox</tabstop> |
2088 <tabstop>dispatchDecoratorEdit</tabstop> |
2099 <tabstop>dispatchDecoratorEdit</tabstop> |
2089 <tabstop>overloadDecoratorEdit</tabstop> |
2100 <tabstop>overloadDecoratorEdit</tabstop> |
2090 <tabstop>exemptedTypingSymbolsEdit</tabstop> |
2101 <tabstop>exemptedTypingSymbolsEdit</tabstop> |
2091 <tabstop>tmpDirectoriesEdit</tabstop> |
2102 <tabstop>tmpDirectoriesEdit</tabstop> |
2092 <tabstop>hashesEdit</tabstop> |
2103 <tabstop>hashesEdit</tabstop> |