eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui

changeset 8246
e4b95b0ebd31
parent 8199
f6db89b067e7
child 8247
e718d3a47f78
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui	Fri Apr 16 18:08:45 2021 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui	Sat Apr 17 12:21:37 2021 +0200
@@ -21,7 +21,7 @@
   <property name="sizeGripEnabled">
    <bool>true</bool>
   </property>
-  <layout class="QVBoxLayout" name="verticalLayout_9">
+  <layout class="QVBoxLayout" name="verticalLayout_13">
    <item>
     <widget class="QTabWidget" name="mainWidget">
      <property name="currentIndex">
@@ -232,7 +232,7 @@
           <attribute name="title">
            <string>Specific Options</string>
           </attribute>
-          <layout class="QVBoxLayout" name="verticalLayout_4">
+          <layout class="QVBoxLayout" name="verticalLayout_9">
            <item>
             <widget class="QScrollArea" name="scrollArea">
              <property name="frameShape">
@@ -252,11 +252,11 @@
                <rect>
                 <x>0</x>
                 <y>0</y>
-                <width>389</width>
-                <height>1178</height>
+                <width>611</width>
+                <height>1417</height>
                </rect>
               </property>
-              <layout class="QVBoxLayout" name="verticalLayout_3">
+              <layout class="QVBoxLayout" name="verticalLayout_4">
                <item>
                 <widget class="QGroupBox" name="groupBox">
                  <property name="title">
@@ -800,60 +800,175 @@
                  <property name="title">
                   <string>Type Annotations</string>
                  </property>
-                 <layout class="QGridLayout" name="gridLayout_6">
-                  <item row="0" column="0">
-                   <widget class="QLabel" name="label_18">
-                    <property name="text">
-                     <string>Min. Coverage:</string>
-                    </property>
-                   </widget>
+                 <layout class="QVBoxLayout" name="verticalLayout_3">
+                  <item>
+                   <layout class="QGridLayout" name="gridLayout_6">
+                    <item row="0" column="0">
+                     <widget class="QLabel" name="label_18">
+                      <property name="text">
+                       <string>Min. Coverage:</string>
+                      </property>
+                     </widget>
+                    </item>
+                    <item row="0" column="1">
+                     <widget class="QSpinBox" name="minAnnotationsCoverageSpinBox">
+                      <property name="toolTip">
+                       <string>Enter the minimum percentage of type annotations</string>
+                      </property>
+                      <property name="alignment">
+                       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                      </property>
+                      <property name="specialValueText">
+                       <string>off</string>
+                      </property>
+                      <property name="suffix">
+                       <string>%</string>
+                      </property>
+                      <property name="maximum">
+                       <number>100</number>
+                      </property>
+                     </widget>
+                    </item>
+                    <item row="0" column="2">
+                     <spacer name="horizontalSpacer_7">
+                      <property name="orientation">
+                       <enum>Qt::Horizontal</enum>
+                      </property>
+                      <property name="sizeHint" stdset="0">
+                       <size>
+                        <width>352</width>
+                        <height>20</height>
+                       </size>
+                      </property>
+                     </spacer>
+                    </item>
+                    <item row="1" column="0">
+                     <widget class="QLabel" name="label_19">
+                      <property name="text">
+                       <string>Max. Complexity:</string>
+                      </property>
+                     </widget>
+                    </item>
+                    <item row="1" column="1">
+                     <widget class="QSpinBox" name="maxAnnotationsComplexitySpinBox">
+                      <property name="toolTip">
+                       <string>Enter the maximum type annotation complexity</string>
+                      </property>
+                      <property name="alignment">
+                       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                      </property>
+                      <property name="minimum">
+                       <number>1</number>
+                      </property>
+                      <property name="maximum">
+                       <number>9</number>
+                      </property>
+                     </widget>
+                    </item>
+                    <item row="2" column="0">
+                     <widget class="QLabel" name="label_32">
+                      <property name="text">
+                       <string>Max. Length:</string>
+                      </property>
+                     </widget>
+                    </item>
+                    <item row="2" column="1">
+                     <widget class="QSpinBox" name="maxAnnotationsLengthSpinBox">
+                      <property name="toolTip">
+                       <string>Enter the maximum type annotation length</string>
+                      </property>
+                      <property name="alignment">
+                       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                      </property>
+                      <property name="minimum">
+                       <number>1</number>
+                      </property>
+                      <property name="maximum">
+                       <number>15</number>
+                      </property>
+                     </widget>
+                    </item>
+                   </layout>
                   </item>
-                  <item row="0" column="1">
-                   <widget class="QSpinBox" name="minAnnotationsCoverageSpinBox">
-                    <property name="toolTip">
-                     <string>Enter the minimum percentage of type annotations</string>
-                    </property>
-                    <property name="specialValueText">
-                     <string>off</string>
-                    </property>
-                    <property name="suffix">
-                     <string>%</string>
-                    </property>
-                    <property name="maximum">
-                     <number>100</number>
+                  <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">
+                       <string>Select to not report dummy (i.e. '_') arguments </string>
+                      </property>
+                      <property name="text">
+                       <string>Suppress Dummy Arguments</string>
+                      </property>
+                     </widget>
+                    </item>
+                    <item row="1" column="0">
+                     <widget class="QCheckBox" name="allowUntypedDefsCheckBox">
+                      <property name="toolTip">
+                       <string>Select to not report dynamically typed functions</string>
+                      </property>
+                      <property name="text">
+                       <string>Allow Untyped Functions</string>
+                      </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="2" column="0" colspan="2">
+                     <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>
+                   </layout>
+                  </item>
+                  <item>
+                   <widget class="QLabel" name="label_33">
+                    <property name="text">
+                     <string>Dispatch Decorators:</string>
                     </property>
                    </widget>
                   </item>
-                  <item row="0" column="2">
-                   <spacer name="horizontalSpacer_7">
-                    <property name="orientation">
-                     <enum>Qt::Horizontal</enum>
-                    </property>
-                    <property name="sizeHint" stdset="0">
-                     <size>
-                      <width>352</width>
-                      <height>20</height>
-                     </size>
-                    </property>
-                   </spacer>
-                  </item>
-                  <item row="1" column="0">
-                   <widget class="QLabel" name="label_19">
-                    <property name="text">
-                     <string>Max. Complexity:</string>
+                  <item>
+                   <widget class="E5ClearableLineEdit" name="dispatchDecoratorEdit">
+                    <property name="toolTip">
+                     <string>Enter the list of dispatch decorators separated by comma</string>
                     </property>
                    </widget>
                   </item>
-                  <item row="1" column="1">
-                   <widget class="QSpinBox" name="maxAnnotationsComplexitySpinBox">
-                    <property name="toolTip">
-                     <string>Enter the maximum type annotation complexity</string>
+                  <item>
+                   <widget class="QLabel" name="label_34">
+                    <property name="text">
+                     <string>Overload Decorators:</string>
                     </property>
-                    <property name="minimum">
-                     <number>1</number>
-                    </property>
-                    <property name="maximum">
-                     <number>9</number>
+                   </widget>
+                  </item>
+                  <item>
+                   <widget class="E5ClearableLineEdit" name="overloadDecoratorEdit">
+                    <property name="toolTip">
+                     <string>Enter the list of typing.overload decorators separated by comma</string>
                     </property>
                    </widget>
                   </item>
@@ -1507,6 +1622,14 @@
   <tabstop>lineComplexityScoreSpinBox</tabstop>
   <tabstop>minAnnotationsCoverageSpinBox</tabstop>
   <tabstop>maxAnnotationsComplexitySpinBox</tabstop>
+  <tabstop>maxAnnotationsLengthSpinBox</tabstop>
+  <tabstop>suppressNoneReturningCheckBox</tabstop>
+  <tabstop>suppressDummyArgsCheckBox</tabstop>
+  <tabstop>allowUntypedDefsCheckBox</tabstop>
+  <tabstop>allowUntypedNestedCheckBox</tabstop>
+  <tabstop>mypyInitReturnCheckBox</tabstop>
+  <tabstop>dispatchDecoratorEdit</tabstop>
+  <tabstop>overloadDecoratorEdit</tabstop>
   <tabstop>tmpDirectoriesEdit</tabstop>
   <tabstop>hashesEdit</tabstop>
   <tabstop>insecureSslProtocolsEdit</tabstop>
@@ -1528,6 +1651,8 @@
   <tabstop>fixButton</tabstop>
   <tabstop>showButton</tabstop>
   <tabstop>statisticsButton</tabstop>
+  <tabstop>filterComboBox</tabstop>
+  <tabstop>filterButton</tabstop>
  </tabstops>
  <resources/>
  <connections>

eric ide

mercurial