36 basestring # __IGNORE_WARNING__ |
36 basestring # __IGNORE_WARNING__ |
37 except Exception: |
37 except Exception: |
38 basestring = str # define for Python3 |
38 basestring = str # define for Python3 |
39 |
39 |
40 |
40 |
|
41 # TODO: add a code filter to the results page |
41 class CodeStyleCheckerDialog(QDialog, Ui_CodeStyleCheckerDialog): |
42 class CodeStyleCheckerDialog(QDialog, Ui_CodeStyleCheckerDialog): |
42 """ |
43 """ |
43 Class implementing a dialog to show the results of the code style check. |
44 Class implementing a dialog to show the results of the code style check. |
44 """ |
45 """ |
45 filenameRole = Qt.ItemDataRole.UserRole + 1 |
46 filenameRole = Qt.ItemDataRole.UserRole + 1 |