9 |
9 |
10 import os |
10 import os |
11 import fnmatch |
11 import fnmatch |
12 import copy |
12 import copy |
13 import collections |
13 import collections |
|
14 import json |
14 |
15 |
15 from PyQt5.QtCore import pyqtSlot, Qt, QTimer, QCoreApplication |
16 from PyQt5.QtCore import pyqtSlot, Qt, QTimer, QCoreApplication |
16 from PyQt5.QtGui import QIcon |
17 from PyQt5.QtGui import QIcon |
17 from PyQt5.QtWidgets import ( |
18 from PyQt5.QtWidgets import ( |
18 QDialog, QTreeWidgetItem, QAbstractButton, QDialogButtonBox, QApplication, |
19 QDialog, QTreeWidgetItem, QAbstractButton, QDialogButtonBox, QApplication, |
1176 self.ecMediumRiskCombo.currentText(), |
1177 self.ecMediumRiskCombo.currentText(), |
1177 "CheckTypedException": |
1178 "CheckTypedException": |
1178 self.typedExceptionsCheckBox.isChecked(), |
1179 self.typedExceptionsCheckBox.isChecked(), |
1179 }, |
1180 }, |
1180 } |
1181 } |
1181 if data != self.__data: |
1182 if ( |
|
1183 json.dumps(data, sort_keys=True) != |
|
1184 json.dumps(self.__data, sort_keys=True) |
|
1185 ): |
1182 self.__data = data |
1186 self.__data = data |
1183 self.__project.setData("CHECKERSPARMS", "Pep8Checker", |
1187 self.__project.setData("CHECKERSPARMS", "Pep8Checker", |
1184 self.__data) |
1188 self.__data) |
1185 |
1189 |
1186 self.resultList.clear() |
1190 self.resultList.clear() |