110 self.scrollArea.setFrameShadow(QtWidgets.QFrame.Shadow.Plain) |
110 self.scrollArea.setFrameShadow(QtWidgets.QFrame.Shadow.Plain) |
111 self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarPolicy.ScrollBarAlwaysOn) |
111 self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarPolicy.ScrollBarAlwaysOn) |
112 self.scrollArea.setWidgetResizable(True) |
112 self.scrollArea.setWidgetResizable(True) |
113 self.scrollArea.setObjectName("scrollArea") |
113 self.scrollArea.setObjectName("scrollArea") |
114 self.scrollAreaWidgetContents = QtWidgets.QWidget() |
114 self.scrollAreaWidgetContents = QtWidgets.QWidget() |
115 self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 367, 905)) |
115 self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 617, 905)) |
116 self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") |
116 self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") |
117 self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents) |
117 self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents) |
118 self.verticalLayout_4.setObjectName("verticalLayout_4") |
118 self.verticalLayout_4.setObjectName("verticalLayout_4") |
119 self.groupBox = QtWidgets.QGroupBox(parent=self.scrollAreaWidgetContents) |
119 self.groupBox = QtWidgets.QGroupBox(parent=self.scrollAreaWidgetContents) |
120 self.groupBox.setObjectName("groupBox") |
120 self.groupBox.setObjectName("groupBox") |
374 self.maxAnnotationsLengthSpinBox.setObjectName("maxAnnotationsLengthSpinBox") |
374 self.maxAnnotationsLengthSpinBox.setObjectName("maxAnnotationsLengthSpinBox") |
375 self.gridLayout_6.addWidget(self.maxAnnotationsLengthSpinBox, 2, 1, 1, 1) |
375 self.gridLayout_6.addWidget(self.maxAnnotationsLengthSpinBox, 2, 1, 1, 1) |
376 self.verticalLayout_3.addLayout(self.gridLayout_6) |
376 self.verticalLayout_3.addLayout(self.gridLayout_6) |
377 self.gridLayout_9 = QtWidgets.QGridLayout() |
377 self.gridLayout_9 = QtWidgets.QGridLayout() |
378 self.gridLayout_9.setObjectName("gridLayout_9") |
378 self.gridLayout_9.setObjectName("gridLayout_9") |
379 self.suppressNoneReturningCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
|
380 self.suppressNoneReturningCheckBox.setObjectName("suppressNoneReturningCheckBox") |
|
381 self.gridLayout_9.addWidget(self.suppressNoneReturningCheckBox, 0, 0, 1, 1) |
|
382 self.suppressDummyArgsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
379 self.suppressDummyArgsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
383 self.suppressDummyArgsCheckBox.setObjectName("suppressDummyArgsCheckBox") |
380 self.suppressDummyArgsCheckBox.setObjectName("suppressDummyArgsCheckBox") |
384 self.gridLayout_9.addWidget(self.suppressDummyArgsCheckBox, 0, 1, 1, 1) |
381 self.gridLayout_9.addWidget(self.suppressDummyArgsCheckBox, 0, 1, 1, 1) |
385 self.allowUntypedDefsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
382 self.allowUntypedDefsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
386 self.allowUntypedDefsCheckBox.setObjectName("allowUntypedDefsCheckBox") |
383 self.allowUntypedDefsCheckBox.setObjectName("allowUntypedDefsCheckBox") |
387 self.gridLayout_9.addWidget(self.allowUntypedDefsCheckBox, 1, 0, 1, 1) |
384 self.gridLayout_9.addWidget(self.allowUntypedDefsCheckBox, 1, 0, 1, 1) |
|
385 self.suppressNoneReturningCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
|
386 self.suppressNoneReturningCheckBox.setObjectName("suppressNoneReturningCheckBox") |
|
387 self.gridLayout_9.addWidget(self.suppressNoneReturningCheckBox, 0, 0, 1, 1) |
|
388 self.allowStarArgAnyCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
|
389 self.allowStarArgAnyCheckBox.setObjectName("allowStarArgAnyCheckBox") |
|
390 self.gridLayout_9.addWidget(self.allowStarArgAnyCheckBox, 2, 1, 1, 1) |
388 self.allowUntypedNestedCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
391 self.allowUntypedNestedCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
389 self.allowUntypedNestedCheckBox.setObjectName("allowUntypedNestedCheckBox") |
392 self.allowUntypedNestedCheckBox.setObjectName("allowUntypedNestedCheckBox") |
390 self.gridLayout_9.addWidget(self.allowUntypedNestedCheckBox, 1, 1, 1, 1) |
393 self.gridLayout_9.addWidget(self.allowUntypedNestedCheckBox, 1, 1, 1, 1) |
391 self.mypyInitReturnCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
|
392 self.mypyInitReturnCheckBox.setObjectName("mypyInitReturnCheckBox") |
|
393 self.gridLayout_9.addWidget(self.mypyInitReturnCheckBox, 2, 0, 1, 1) |
|
394 self.allowStarArgAnyCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
|
395 self.allowStarArgAnyCheckBox.setObjectName("allowStarArgAnyCheckBox") |
|
396 self.gridLayout_9.addWidget(self.allowStarArgAnyCheckBox, 2, 1, 1, 1) |
|
397 self.forceFutureAnnotationsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
394 self.forceFutureAnnotationsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
398 self.forceFutureAnnotationsCheckBox.setObjectName("forceFutureAnnotationsCheckBox") |
395 self.forceFutureAnnotationsCheckBox.setObjectName("forceFutureAnnotationsCheckBox") |
399 self.gridLayout_9.addWidget(self.forceFutureAnnotationsCheckBox, 3, 0, 1, 1) |
396 self.gridLayout_9.addWidget(self.forceFutureAnnotationsCheckBox, 3, 0, 1, 1) |
400 self.simplifiedTypesCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
397 self.simplifiedTypesCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
401 self.simplifiedTypesCheckBox.setObjectName("simplifiedTypesCheckBox") |
398 self.simplifiedTypesCheckBox.setObjectName("simplifiedTypesCheckBox") |
402 self.gridLayout_9.addWidget(self.simplifiedTypesCheckBox, 3, 1, 1, 1) |
399 self.gridLayout_9.addWidget(self.simplifiedTypesCheckBox, 3, 1, 1, 1) |
|
400 self.mypyInitReturnCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
|
401 self.mypyInitReturnCheckBox.setObjectName("mypyInitReturnCheckBox") |
|
402 self.gridLayout_9.addWidget(self.mypyInitReturnCheckBox, 2, 0, 1, 1) |
|
403 self.typeIgnoreCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_10) |
|
404 self.typeIgnoreCheckBox.setObjectName("typeIgnoreCheckBox") |
|
405 self.gridLayout_9.addWidget(self.typeIgnoreCheckBox, 4, 0, 1, 1) |
403 self.verticalLayout_3.addLayout(self.gridLayout_9) |
406 self.verticalLayout_3.addLayout(self.gridLayout_9) |
404 self.label_33 = QtWidgets.QLabel(parent=self.groupBox_10) |
407 self.label_33 = QtWidgets.QLabel(parent=self.groupBox_10) |
405 self.label_33.setObjectName("label_33") |
408 self.label_33.setObjectName("label_33") |
406 self.verticalLayout_3.addWidget(self.label_33) |
409 self.verticalLayout_3.addWidget(self.label_33) |
407 self.dispatchDecoratorEdit = QtWidgets.QLineEdit(parent=self.groupBox_10) |
410 self.dispatchDecoratorEdit = QtWidgets.QLineEdit(parent=self.groupBox_10) |
785 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) |
788 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) |
786 self.buttonBox.setObjectName("buttonBox") |
789 self.buttonBox.setObjectName("buttonBox") |
787 self.verticalLayout_13.addWidget(self.buttonBox) |
790 self.verticalLayout_13.addWidget(self.buttonBox) |
788 |
791 |
789 self.retranslateUi(CodeStyleCheckerDialog) |
792 self.retranslateUi(CodeStyleCheckerDialog) |
790 self.mainWidget.setCurrentIndex(2) |
793 self.mainWidget.setCurrentIndex(0) |
791 self.optionsTabWidget.setCurrentIndex(7) |
794 self.optionsTabWidget.setCurrentIndex(0) |
792 self.repeatCheckBox.toggled['bool'].connect(self.fixIssuesCheckBox.setEnabled) # type: ignore |
795 self.repeatCheckBox.toggled['bool'].connect(self.fixIssuesCheckBox.setEnabled) # type: ignore |
793 self.repeatCheckBox.toggled['bool'].connect(self.ignoredCheckBox.setEnabled) # type: ignore |
796 self.repeatCheckBox.toggled['bool'].connect(self.ignoredCheckBox.setEnabled) # type: ignore |
794 QtCore.QMetaObject.connectSlotsByName(CodeStyleCheckerDialog) |
797 QtCore.QMetaObject.connectSlotsByName(CodeStyleCheckerDialog) |
795 CodeStyleCheckerDialog.setTabOrder(self.mainWidget, self.optionsTabWidget) |
798 CodeStyleCheckerDialog.setTabOrder(self.mainWidget, self.optionsTabWidget) |
796 CodeStyleCheckerDialog.setTabOrder(self.optionsTabWidget, self.categoriesList) |
799 CodeStyleCheckerDialog.setTabOrder(self.optionsTabWidget, self.categoriesList) |
836 CodeStyleCheckerDialog.setTabOrder(self.allowUntypedDefsCheckBox, self.allowUntypedNestedCheckBox) |
839 CodeStyleCheckerDialog.setTabOrder(self.allowUntypedDefsCheckBox, self.allowUntypedNestedCheckBox) |
837 CodeStyleCheckerDialog.setTabOrder(self.allowUntypedNestedCheckBox, self.mypyInitReturnCheckBox) |
840 CodeStyleCheckerDialog.setTabOrder(self.allowUntypedNestedCheckBox, self.mypyInitReturnCheckBox) |
838 CodeStyleCheckerDialog.setTabOrder(self.mypyInitReturnCheckBox, self.allowStarArgAnyCheckBox) |
841 CodeStyleCheckerDialog.setTabOrder(self.mypyInitReturnCheckBox, self.allowStarArgAnyCheckBox) |
839 CodeStyleCheckerDialog.setTabOrder(self.allowStarArgAnyCheckBox, self.forceFutureAnnotationsCheckBox) |
842 CodeStyleCheckerDialog.setTabOrder(self.allowStarArgAnyCheckBox, self.forceFutureAnnotationsCheckBox) |
840 CodeStyleCheckerDialog.setTabOrder(self.forceFutureAnnotationsCheckBox, self.simplifiedTypesCheckBox) |
843 CodeStyleCheckerDialog.setTabOrder(self.forceFutureAnnotationsCheckBox, self.simplifiedTypesCheckBox) |
841 CodeStyleCheckerDialog.setTabOrder(self.simplifiedTypesCheckBox, self.dispatchDecoratorEdit) |
844 CodeStyleCheckerDialog.setTabOrder(self.simplifiedTypesCheckBox, self.typeIgnoreCheckBox) |
|
845 CodeStyleCheckerDialog.setTabOrder(self.typeIgnoreCheckBox, self.dispatchDecoratorEdit) |
842 CodeStyleCheckerDialog.setTabOrder(self.dispatchDecoratorEdit, self.overloadDecoratorEdit) |
846 CodeStyleCheckerDialog.setTabOrder(self.dispatchDecoratorEdit, self.overloadDecoratorEdit) |
843 CodeStyleCheckerDialog.setTabOrder(self.overloadDecoratorEdit, self.exemptedTypingSymbolsEdit) |
847 CodeStyleCheckerDialog.setTabOrder(self.overloadDecoratorEdit, self.exemptedTypingSymbolsEdit) |
844 CodeStyleCheckerDialog.setTabOrder(self.exemptedTypingSymbolsEdit, self.tmpDirectoriesEdit) |
848 CodeStyleCheckerDialog.setTabOrder(self.exemptedTypingSymbolsEdit, self.tmpDirectoriesEdit) |
845 CodeStyleCheckerDialog.setTabOrder(self.tmpDirectoriesEdit, self.hashesEdit) |
849 CodeStyleCheckerDialog.setTabOrder(self.tmpDirectoriesEdit, self.hashesEdit) |
846 CodeStyleCheckerDialog.setTabOrder(self.hashesEdit, self.insecureSslProtocolsEdit) |
850 CodeStyleCheckerDialog.setTabOrder(self.hashesEdit, self.insecureSslProtocolsEdit) |
967 self.minAnnotationsCoverageSpinBox.setSuffix(_translate("CodeStyleCheckerDialog", "%")) |
971 self.minAnnotationsCoverageSpinBox.setSuffix(_translate("CodeStyleCheckerDialog", "%")) |
968 self.label_19.setText(_translate("CodeStyleCheckerDialog", "Max. Complexity:")) |
972 self.label_19.setText(_translate("CodeStyleCheckerDialog", "Max. Complexity:")) |
969 self.maxAnnotationsComplexitySpinBox.setToolTip(_translate("CodeStyleCheckerDialog", "Enter the maximum type annotation complexity")) |
973 self.maxAnnotationsComplexitySpinBox.setToolTip(_translate("CodeStyleCheckerDialog", "Enter the maximum type annotation complexity")) |
970 self.label_32.setText(_translate("CodeStyleCheckerDialog", "Max. Length:")) |
974 self.label_32.setText(_translate("CodeStyleCheckerDialog", "Max. Length:")) |
971 self.maxAnnotationsLengthSpinBox.setToolTip(_translate("CodeStyleCheckerDialog", "Enter the maximum type annotation length")) |
975 self.maxAnnotationsLengthSpinBox.setToolTip(_translate("CodeStyleCheckerDialog", "Enter the maximum type annotation length")) |
972 self.suppressNoneReturningCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report functions without returns or with only bare returns")) |
|
973 self.suppressNoneReturningCheckBox.setText(_translate("CodeStyleCheckerDialog", "Suppress \'None\' return")) |
|
974 self.suppressDummyArgsCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report dummy (i.e. \'_\') arguments")) |
976 self.suppressDummyArgsCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report dummy (i.e. \'_\') arguments")) |
975 self.suppressDummyArgsCheckBox.setText(_translate("CodeStyleCheckerDialog", "Suppress Dummy Arguments")) |
977 self.suppressDummyArgsCheckBox.setText(_translate("CodeStyleCheckerDialog", "Suppress Dummy Arguments")) |
976 self.allowUntypedDefsCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report dynamically typed functions")) |
978 self.allowUntypedDefsCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report dynamically typed functions")) |
977 self.allowUntypedDefsCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow Untyped Functions")) |
979 self.allowUntypedDefsCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow Untyped Functions")) |
|
980 self.suppressNoneReturningCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report functions without returns or with only bare returns")) |
|
981 self.suppressNoneReturningCheckBox.setText(_translate("CodeStyleCheckerDialog", "Suppress \'None\' return")) |
|
982 self.allowStarArgAnyCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Allow dynamically typed *args and **kwargs")) |
|
983 self.allowStarArgAnyCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow dynamically typed * Arguments")) |
978 self.allowUntypedNestedCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report dynamically typed nested functions")) |
984 self.allowUntypedNestedCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report dynamically typed nested functions")) |
979 self.allowUntypedNestedCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow Untyped Nested Functions")) |
985 self.allowUntypedNestedCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow Untyped Nested Functions")) |
980 self.mypyInitReturnCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report unhinted \'__init__\' return")) |
|
981 self.mypyInitReturnCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow Untyped \'__init__\' function")) |
|
982 self.allowStarArgAnyCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Allow dynamically typed *args and **kwargs")) |
|
983 self.allowStarArgAnyCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow dynamically typed * Arguments")) |
|
984 self.forceFutureAnnotationsCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Enforce the presence of a \'from __future__ import annotations\' statement")) |
986 self.forceFutureAnnotationsCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Enforce the presence of a \'from __future__ import annotations\' statement")) |
985 self.forceFutureAnnotationsCheckBox.setText(_translate("CodeStyleCheckerDialog", "Enforce \'__future__\' statement")) |
987 self.forceFutureAnnotationsCheckBox.setText(_translate("CodeStyleCheckerDialog", "Enforce \'__future__\' statement")) |
986 self.simplifiedTypesCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Verifies <3.10 code with simplified types uses \'from __future__ import annotations\'.")) |
988 self.simplifiedTypesCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Verifies <3.10 code with simplified types uses \'from __future__ import annotations\'.")) |
987 self.simplifiedTypesCheckBox.setText(_translate("CodeStyleCheckerDialog", "Check use of simplified types")) |
989 self.simplifiedTypesCheckBox.setText(_translate("CodeStyleCheckerDialog", "Check use of simplified types")) |
|
990 self.mypyInitReturnCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to not report unhinted \'__init__\' return")) |
|
991 self.mypyInitReturnCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow Untyped \'__init__\' function")) |
|
992 self.typeIgnoreCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to supress errors for functions annotated with a \'type: ignore\' comment.")) |
|
993 self.typeIgnoreCheckBox.setText(_translate("CodeStyleCheckerDialog", "Respect \'type: ignore\' comments")) |
988 self.label_33.setText(_translate("CodeStyleCheckerDialog", "Dispatch Decorators:")) |
994 self.label_33.setText(_translate("CodeStyleCheckerDialog", "Dispatch Decorators:")) |
989 self.dispatchDecoratorEdit.setToolTip(_translate("CodeStyleCheckerDialog", "Enter the list of dispatch decorators separated by comma")) |
995 self.dispatchDecoratorEdit.setToolTip(_translate("CodeStyleCheckerDialog", "Enter the list of dispatch decorators separated by comma")) |
990 self.label_34.setText(_translate("CodeStyleCheckerDialog", "Overload Decorators:")) |
996 self.label_34.setText(_translate("CodeStyleCheckerDialog", "Overload Decorators:")) |
991 self.overloadDecoratorEdit.setToolTip(_translate("CodeStyleCheckerDialog", "Enter the list of typing.overload decorators separated by comma")) |
997 self.overloadDecoratorEdit.setToolTip(_translate("CodeStyleCheckerDialog", "Enter the list of typing.overload decorators separated by comma")) |
992 self.label_38.setText(_translate("CodeStyleCheckerDialog", "Exempted \'typing\' symbols:")) |
998 self.label_38.setText(_translate("CodeStyleCheckerDialog", "Exempted \'typing\' symbols:")) |