src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Ui_CodeStyleCheckerDialog.py

branch
eric7
changeset 10753
031cfa81992a
parent 10745
2921faddeaec
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Ui_CodeStyleCheckerDialog.py	Fri Jun 07 13:51:43 2024 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Ui_CodeStyleCheckerDialog.py	Sat Jun 08 15:01:47 2024 +0200
@@ -1,4 +1,4 @@
-# Form implementation generated from reading ui file 'src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui'
+# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui'
 #
 # Created by: PyQt6 UI code generator 6.7.0
 #
@@ -112,7 +112,7 @@
         self.scrollArea.setWidgetResizable(True)
         self.scrollArea.setObjectName("scrollArea")
         self.scrollAreaWidgetContents = QtWidgets.QWidget()
-        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 367, 905))
+        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 617, 905))
         self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
         self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
         self.verticalLayout_4.setObjectName("verticalLayout_4")
@@ -376,30 +376,33 @@
         self.verticalLayout_3.addLayout(self.gridLayout_6)
         self.gridLayout_9 = QtWidgets.QGridLayout()
         self.gridLayout_9.setObjectName("gridLayout_9")
-        self.suppressNoneReturningCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
-        self.suppressNoneReturningCheckBox.setObjectName("suppressNoneReturningCheckBox")
-        self.gridLayout_9.addWidget(self.suppressNoneReturningCheckBox, 0, 0, 1, 1)
         self.suppressDummyArgsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
         self.suppressDummyArgsCheckBox.setObjectName("suppressDummyArgsCheckBox")
         self.gridLayout_9.addWidget(self.suppressDummyArgsCheckBox, 0, 1, 1, 1)
         self.allowUntypedDefsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
         self.allowUntypedDefsCheckBox.setObjectName("allowUntypedDefsCheckBox")
         self.gridLayout_9.addWidget(self.allowUntypedDefsCheckBox, 1, 0, 1, 1)
+        self.suppressNoneReturningCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
+        self.suppressNoneReturningCheckBox.setObjectName("suppressNoneReturningCheckBox")
+        self.gridLayout_9.addWidget(self.suppressNoneReturningCheckBox, 0, 0, 1, 1)
+        self.allowStarArgAnyCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
+        self.allowStarArgAnyCheckBox.setObjectName("allowStarArgAnyCheckBox")
+        self.gridLayout_9.addWidget(self.allowStarArgAnyCheckBox, 2, 1, 1, 1)
         self.allowUntypedNestedCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
         self.allowUntypedNestedCheckBox.setObjectName("allowUntypedNestedCheckBox")
         self.gridLayout_9.addWidget(self.allowUntypedNestedCheckBox, 1, 1, 1, 1)
-        self.mypyInitReturnCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
-        self.mypyInitReturnCheckBox.setObjectName("mypyInitReturnCheckBox")
-        self.gridLayout_9.addWidget(self.mypyInitReturnCheckBox, 2, 0, 1, 1)
-        self.allowStarArgAnyCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
-        self.allowStarArgAnyCheckBox.setObjectName("allowStarArgAnyCheckBox")
-        self.gridLayout_9.addWidget(self.allowStarArgAnyCheckBox, 2, 1, 1, 1)
         self.forceFutureAnnotationsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
         self.forceFutureAnnotationsCheckBox.setObjectName("forceFutureAnnotationsCheckBox")
         self.gridLayout_9.addWidget(self.forceFutureAnnotationsCheckBox, 3, 0, 1, 1)
         self.simplifiedTypesCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
         self.simplifiedTypesCheckBox.setObjectName("simplifiedTypesCheckBox")
         self.gridLayout_9.addWidget(self.simplifiedTypesCheckBox, 3, 1, 1, 1)
+        self.mypyInitReturnCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
+        self.mypyInitReturnCheckBox.setObjectName("mypyInitReturnCheckBox")
+        self.gridLayout_9.addWidget(self.mypyInitReturnCheckBox, 2, 0, 1, 1)
+        self.typeIgnoreCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10)
+        self.typeIgnoreCheckBox.setObjectName("typeIgnoreCheckBox")
+        self.gridLayout_9.addWidget(self.typeIgnoreCheckBox, 4, 0, 1, 1)
         self.verticalLayout_3.addLayout(self.gridLayout_9)
         self.label_33 = QtWidgets.QLabel(parent=self.groupBox_10)
         self.label_33.setObjectName("label_33")
@@ -787,8 +790,8 @@
         self.verticalLayout_13.addWidget(self.buttonBox)
 
         self.retranslateUi(CodeStyleCheckerDialog)
-        self.mainWidget.setCurrentIndex(2)
-        self.optionsTabWidget.setCurrentIndex(7)
+        self.mainWidget.setCurrentIndex(0)
+        self.optionsTabWidget.setCurrentIndex(0)
         self.repeatCheckBox.toggled['bool'].connect(self.fixIssuesCheckBox.setEnabled) # type: ignore
         self.repeatCheckBox.toggled['bool'].connect(self.ignoredCheckBox.setEnabled) # type: ignore
         QtCore.QMetaObject.connectSlotsByName(CodeStyleCheckerDialog)
@@ -838,7 +841,8 @@
         CodeStyleCheckerDialog.setTabOrder(self.mypyInitReturnCheckBox, self.allowStarArgAnyCheckBox)
         CodeStyleCheckerDialog.setTabOrder(self.allowStarArgAnyCheckBox, self.forceFutureAnnotationsCheckBox)
         CodeStyleCheckerDialog.setTabOrder(self.forceFutureAnnotationsCheckBox, self.simplifiedTypesCheckBox)
-        CodeStyleCheckerDialog.setTabOrder(self.simplifiedTypesCheckBox, self.dispatchDecoratorEdit)
+        CodeStyleCheckerDialog.setTabOrder(self.simplifiedTypesCheckBox, self.typeIgnoreCheckBox)
+        CodeStyleCheckerDialog.setTabOrder(self.typeIgnoreCheckBox, self.dispatchDecoratorEdit)
         CodeStyleCheckerDialog.setTabOrder(self.dispatchDecoratorEdit, self.overloadDecoratorEdit)
         CodeStyleCheckerDialog.setTabOrder(self.overloadDecoratorEdit, self.exemptedTypingSymbolsEdit)
         CodeStyleCheckerDialog.setTabOrder(self.exemptedTypingSymbolsEdit, self.tmpDirectoriesEdit)
@@ -969,22 +973,24 @@
         self.maxAnnotationsComplexitySpinBox.setToolTip(_translate("CodeStyleCheckerDialog", "Enter the maximum type annotation complexity"))
         self.label_32.setText(_translate("CodeStyleCheckerDialog", "Max. Length:"))
         self.maxAnnotationsLengthSpinBox.setToolTip(_translate("CodeStyleCheckerDialog", "Enter the maximum type annotation length"))
-        self.suppressNoneReturningCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report functions without returns or with only bare returns"))
-        self.suppressNoneReturningCheckBox.setText(_translate("CodeStyleCheckerDialog", "Suppress \'None\' return"))
         self.suppressDummyArgsCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report dummy (i.e. \'_\') arguments"))
         self.suppressDummyArgsCheckBox.setText(_translate("CodeStyleCheckerDialog", "Suppress Dummy Arguments"))
         self.allowUntypedDefsCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report dynamically typed functions"))
         self.allowUntypedDefsCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow Untyped Functions"))
+        self.suppressNoneReturningCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report functions without returns or with only bare returns"))
+        self.suppressNoneReturningCheckBox.setText(_translate("CodeStyleCheckerDialog", "Suppress \'None\' return"))
+        self.allowStarArgAnyCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Allow dynamically typed *args and **kwargs"))
+        self.allowStarArgAnyCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow dynamically typed * Arguments"))
         self.allowUntypedNestedCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report dynamically typed nested functions"))
         self.allowUntypedNestedCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow Untyped Nested Functions"))
-        self.mypyInitReturnCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report unhinted \'__init__\' return"))
-        self.mypyInitReturnCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow Untyped \'__init__\' function"))
-        self.allowStarArgAnyCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Allow dynamically typed *args and **kwargs"))
-        self.allowStarArgAnyCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow dynamically typed * Arguments"))
         self.forceFutureAnnotationsCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Enforce the presence of a \'from __future__ import annotations\' statement"))
         self.forceFutureAnnotationsCheckBox.setText(_translate("CodeStyleCheckerDialog", "Enforce \'__future__\' statement"))
         self.simplifiedTypesCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Verifies <3.10 code with simplified types uses \'from __future__ import annotations\'."))
         self.simplifiedTypesCheckBox.setText(_translate("CodeStyleCheckerDialog", "Check use of simplified types"))
+        self.mypyInitReturnCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report unhinted \'__init__\' return"))
+        self.mypyInitReturnCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow Untyped \'__init__\' function"))
+        self.typeIgnoreCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to supress errors for functions annotated with a \'type: ignore\' comment."))
+        self.typeIgnoreCheckBox.setText(_translate("CodeStyleCheckerDialog", "Respect \'type: ignore\' comments"))
         self.label_33.setText(_translate("CodeStyleCheckerDialog", "Dispatch Decorators:"))
         self.dispatchDecoratorEdit.setToolTip(_translate("CodeStyleCheckerDialog", "Enter the list of dispatch decorators separated by comma"))
         self.label_34.setText(_translate("CodeStyleCheckerDialog", "Overload Decorators:"))

eric ide

mercurial