eric7/DebugClients/Python/DebugConfig.py

Wed, 18 May 2022 10:54:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 18 May 2022 10:54:32 +0200
branch
unittest
changeset 9074
1afb90182258
parent 8881
54e42bc2437a
permissions
-rw-r--r--

Removed unit test related functionality from the debugger in favor of the new Testing interface.

# -*- coding: utf-8 -*-

# Copyright (c) 2005 - 2022 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module defining type strings for the different Python types.
"""


SpecialAttributes = (
    "__bases__", "__class__", "__dict__", "__doc__", "__mro__", "__name__",
    "__qualname__",
)

BatchSize = 200
ConfigQtNames = (
    'PyQt5.', 'PyQt6.', 'PySide2.', 'PySide6.', 'Shiboken.EnumType'
)

ConfigKnownQtTypes = (
    '.QByteArray', '.QPoint', '.QPointF', '.QLabel', '.QPushButton',
    '.QRect', '.QRectF', '.QSize', '.QSizeF', '.QColor', '.QDate', '.QTime',
    '.QDateTime', '.QDir', '.QFile', '.QFont', '.QUrl', '.QModelIndex',
    '.QRegExp', '.QRegularExpression', '.QAction', '.QKeySequence',
    '.QDomAttr', '.QDomCharacterData', '.QDomComment', '.QDomDocument',
    '.QDomElement', '.QDomText', '.QHostAddress', '.EnumType',
)

NonExpandableTypes = (
    'int', 'float', 'bool', 'NoneType', 'bytes', 'function', 'object',
    'builtin_function_or_method', 'classmethod_descriptor', 'weakref',
    'wrapper_descriptor', 'method_descriptor', 'property', 'method',
    'getset_descriptor', 'member_descriptor',
)

eric ide

mercurial