Fixed some code style issues. Variables Viewer

Mon, 22 Apr 2019 10:46:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 22 Apr 2019 10:46:09 +0200
branch
Variables Viewer
changeset 6971
77cf9a30562d
parent 6969
fd7af2312383
child 6972
bb4d5692f966

Fixed some code style issues.

eric6/DebugClients/Python/DebugClientBase.py file | annotate | diff | comparison | revisions
eric6/DebugClients/Python/DebugConfig.py file | annotate | diff | comparison | revisions
--- a/eric6/DebugClients/Python/DebugClientBase.py	Sun Apr 21 21:20:24 2019 +0200
+++ b/eric6/DebugClients/Python/DebugClientBase.py	Mon Apr 22 10:46:09 2019 +0200
@@ -1437,10 +1437,6 @@
         @type int
         @param filterList the indices of variable types to be filtered
         @type list of int
-        @param maxSize maximum size the formatted value of a variable will
-            be shown. If it is bigger than that, a 'too big' indication will
-            be given.
-        @type int
         """
         if self.currentThread is None:
             return
@@ -1486,13 +1482,10 @@
         @type list of strings
         @param frmnr distance of frame reported on. 0 is the current frame
         @type int
-        @param scope 1 to report global variables, 0 for local variables (int)
+        @param scope 1 to report global variables, 0 for local variables
+        @type int
         @param filterList the indices of variable types to be filtered
         @type list of int
-        @param maxSize maximum size the formatted value of a variable will
-            be shown. If it is bigger than that, a 'too big' indication will
-            be given.
-        @type int
         """
         if self.currentThread is None:
             return
--- a/eric6/DebugClients/Python/DebugConfig.py	Sun Apr 21 21:20:24 2019 +0200
+++ b/eric6/DebugClients/Python/DebugConfig.py	Mon Apr 22 10:46:09 2019 +0200
@@ -25,14 +25,17 @@
 ]
 
 BatchSize = 200
-ConfigQtNames = ('PyQt5.', 'PyQt4.', 'PySide2.', 'PySide.', 'Shiboken.')
-ConfigKnownQtTypes = ('.QChar', '.QByteArray', '.QString', '.QStringList',
-    '.QPoint', '.QPointF', '.QRect', '.QRectF', '.QSize', '.QSizeF', '.QColor',
-    '.QDate', '.QTime', '.QDateTime', '.QDir', '.QFile', '.QFont', '.QUrl',
-    '.QModelIndex', '.QRegExp', '.QAction', '.QKeySequence', '.QDomAttr',
-    '.QDomCharacterData', '.QDomComment', '.QDomDocument', '.QDomElement',
-    '.QDomText', '.QHostAddress', '.EnumType'
-    )
+ConfigQtNames = (
+    'PyQt5.', 'PyQt4.', 'PySide2.', 'PySide.', 'Shiboken.'
+)
+ConfigKnownQtTypes = (
+    '.QChar', '.QByteArray', '.QString', '.QStringList', '.QPoint', '.QPointF',
+    '.QRect', '.QRectF', '.QSize', '.QSizeF', '.QColor', '.QDate', '.QTime',
+    '.QDateTime', '.QDir', '.QFile', '.QFont', '.QUrl', '.QModelIndex',
+    '.QRegExp', '.QAction', '.QKeySequence', '.QDomAttr', '.QDomCharacterData',
+    '.QDomComment', '.QDomDocument', '.QDomElement', '.QDomText',
+    '.QHostAddress', '.EnumType'
+)
 
 #
 # eflag: noqa = M702

eric ide

mercurial