--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui Fri Jun 07 13:51:43 2024 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui Sat Jun 08 15:01:47 2024 +0200 @@ -20,7 +20,7 @@ <item> <widget class="QTabWidget" name="mainWidget"> <property name="currentIndex"> - <number>2</number> + <number>0</number> </property> <widget class="QWidget" name="configureTab"> <attribute name="title"> @@ -30,7 +30,7 @@ <item> <widget class="QTabWidget" name="optionsTabWidget"> <property name="currentIndex"> - <number>7</number> + <number>0</number> </property> <widget class="QWidget" name="globalOptionsTab"> <attribute name="title"> @@ -262,7 +262,7 @@ <rect> <x>0</x> <y>0</y> - <width>367</width> + <width>617</width> <height>905</height> </rect> </property> @@ -932,16 +932,6 @@ </item> <item> <layout class="QGridLayout" name="gridLayout_9"> - <item row="0" column="0"> - <widget class="QCheckBox" name="suppressNoneReturningCheckBox"> - <property name="toolTip"> - <string>Select to not report functions without returns or with only bare returns</string> - </property> - <property name="text"> - <string>Suppress 'None' return</string> - </property> - </widget> - </item> <item row="0" column="1"> <widget class="QCheckBox" name="suppressDummyArgsCheckBox"> <property name="toolTip"> @@ -962,23 +952,13 @@ </property> </widget> </item> - <item row="1" column="1"> - <widget class="QCheckBox" name="allowUntypedNestedCheckBox"> + <item row="0" column="0"> + <widget class="QCheckBox" name="suppressNoneReturningCheckBox"> <property name="toolTip"> - <string>Select to not report dynamically typed nested functions</string> + <string>Select to not report functions without returns or with only bare returns</string> </property> <property name="text"> - <string>Allow Untyped Nested Functions</string> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QCheckBox" name="mypyInitReturnCheckBox"> - <property name="toolTip"> - <string>Select to not report unhinted '__init__' return</string> - </property> - <property name="text"> - <string>Allow Untyped '__init__' function</string> + <string>Suppress 'None' return</string> </property> </widget> </item> @@ -992,6 +972,16 @@ </property> </widget> </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="allowUntypedNestedCheckBox"> + <property name="toolTip"> + <string>Select to not report dynamically typed nested functions</string> + </property> + <property name="text"> + <string>Allow Untyped Nested Functions</string> + </property> + </widget> + </item> <item row="3" column="0"> <widget class="QCheckBox" name="forceFutureAnnotationsCheckBox"> <property name="toolTip"> @@ -1012,6 +1002,26 @@ </property> </widget> </item> + <item row="2" column="0"> + <widget class="QCheckBox" name="mypyInitReturnCheckBox"> + <property name="toolTip"> + <string>Select to not report unhinted '__init__' return</string> + </property> + <property name="text"> + <string>Allow Untyped '__init__' function</string> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QCheckBox" name="typeIgnoreCheckBox"> + <property name="toolTip"> + <string>Select to supress errors for functions annotated with a 'type: ignore' comment.</string> + </property> + <property name="text"> + <string>Respect 'type: ignore' comments</string> + </property> + </widget> + </item> </layout> </item> <item> @@ -2085,6 +2095,7 @@ <tabstop>allowStarArgAnyCheckBox</tabstop> <tabstop>forceFutureAnnotationsCheckBox</tabstop> <tabstop>simplifiedTypesCheckBox</tabstop> + <tabstop>typeIgnoreCheckBox</tabstop> <tabstop>dispatchDecoratorEdit</tabstop> <tabstop>overloadDecoratorEdit</tabstop> <tabstop>exemptedTypingSymbolsEdit</tabstop>