--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui Mon May 22 19:53:41 2023 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui Tue May 23 12:00:37 2023 +0200 @@ -1554,6 +1554,16 @@ <string>Ignore Warnings For</string> </property> <layout class="QGridLayout" name="gridLayout_11"> + <item row="2" column="1"> + <widget class="QCheckBox" name="ignoreLambdasCheckBox"> + <property name="toolTip"> + <string>Ignore unused arguments for lambda functions.</string> + </property> + <property name="text"> + <string>Lambda Functions</string> + </property> + </widget> + </item> <item row="0" column="0"> <widget class="QCheckBox" name="ignoreAbstractCheckBox"> <property name="toolTip"> @@ -1564,6 +1574,36 @@ </property> </widget> </item> + <item row="2" column="0"> + <widget class="QCheckBox" name="ignoreVariadicNamesCheckBox"> + <property name="toolTip"> + <string>Ignore unused *args and **kwargs.</string> + </property> + <property name="text"> + <string>*args and **kwargs</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="ignoreStubsCheckBox"> + <property name="toolTip"> + <string>Ignore unused arguments for methods consisting of a pass statement only.</string> + </property> + <property name="text"> + <string>Stub Methods</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QCheckBox" name="ignoreOverrideCheckBox"> + <property name="toolTip"> + <string>Ignore unused arguments for methods decorated with '@override'.</string> + </property> + <property name="text"> + <string>Override Methods</string> + </property> + </widget> + </item> <item row="0" column="1"> <widget class="QCheckBox" name="ignoreOverloadCheckBox"> <property name="toolTip"> @@ -1574,43 +1614,13 @@ </property> </widget> </item> - <item row="1" column="0"> - <widget class="QCheckBox" name="ignoreOverrideCheckBox"> + <item row="4" column="1"> + <widget class="QCheckBox" name="ignoreDunderGlobalsCheckBox"> <property name="toolTip"> - <string>Ignore unused arguments for methods decorated with '@override'.</string> - </property> - <property name="text"> - <string>Override Methods</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QCheckBox" name="ignoreStubsCheckBox"> - <property name="toolTip"> - <string>Ignore unused arguments for methods consisting of a pass statement only.</string> + <string>Ignore unused global variables starting and ending with double underscores.</string> </property> <property name="text"> - <string>Stub Methods</string> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QCheckBox" name="ignoreVariadicNamesCheckBox"> - <property name="toolTip"> - <string>Ignore unused *args and **kwargs.</string> - </property> - <property name="text"> - <string>*args and **kwargs</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="ignoreLambdasCheckBox"> - <property name="toolTip"> - <string>Ignore unused arguments for lambda functions.</string> - </property> - <property name="text"> - <string>Lambda Functions</string> + <string>Special Global Variables</string> </property> </widget> </item> @@ -1625,6 +1635,16 @@ </widget> </item> <item row="3" column="1"> + <widget class="QCheckBox" name="ignoreSlotsCheckBox"> + <property name="toolTip"> + <string>Ignore unused arguments for methods decorated with '@pyqtSlot' or '@Slot'.</string> + </property> + <property name="text"> + <string>Qt Slot Methods</string> + </property> + </widget> + </item> + <item row="4" column="0"> <widget class="QCheckBox" name="ignoreDunderMethodsCheckBox"> <property name="toolTip"> <string>Ignore unused arguments for methods starting and ending with double underscores.</string> @@ -1634,16 +1654,6 @@ </property> </widget> </item> - <item row="4" column="0"> - <widget class="QCheckBox" name="ignoreSlotsCheckBox"> - <property name="toolTip"> - <string>Ignore unused arguments for methods decorated with '@pyqtSlot' or '@Slot'.</string> - </property> - <property name="text"> - <string>Qt Slot Methods</string> - </property> - </widget> - </item> </layout> </widget> </item> @@ -2074,8 +2084,9 @@ <tabstop>ignoreVariadicNamesCheckBox</tabstop> <tabstop>ignoreLambdasCheckBox</tabstop> <tabstop>ignoreNestedFunctionsCheckBox</tabstop> + <tabstop>ignoreSlotsCheckBox</tabstop> <tabstop>ignoreDunderMethodsCheckBox</tabstop> - <tabstop>ignoreSlotsCheckBox</tabstop> + <tabstop>ignoreDunderGlobalsCheckBox</tabstop> <tabstop>startButton</tabstop> <tabstop>loadDefaultButton</tabstop> <tabstop>storeDefaultButton</tabstop>